X-Git-Url: https://git.wh0rd.org/?p=chrome-ext%2Fmusic-player-client.git;a=blobdiff_plain;f=main.js;h=b83e0a219739a85ff931f8129635815c3eb3b533;hp=fefb964e54b8974fe12f5949f18d0ed65f527881;hb=0a3a435e6ad8fcd1232675e09a07baa73be09497;hpb=d4a26e736741a0a75acc6742d075d1cf7a11a44c diff --git a/main.js b/main.js index fefb964..b83e0a2 100644 --- a/main.js +++ b/main.js @@ -11,6 +11,9 @@ function TcpClientSender(tcpclient) { TcpClientSender.prototype.send = function(data, cb) { this.tcpclient.sendMessage(data, cb); } +TcpClientSender.prototype.poll = function() { + this.tcpclient.poll(); +} function tramp_mpc_recv(data) { mpc.recv(data);