Sha256: 29267f1131c3fdc51224d2e922bddbfade0385a298c9327339646dd2dac37f8f
Contents?: true
Size: 689 Bytes
Versions: 10
Compression:
Stored size: 689 Bytes
Contents
pd = function(){ console.log.apply(console, arguments) } if(plugin.canChangeMenu()) { theWebUI.saberFetch = function(id){ theWebUI.perform("saberFetch"); } plugin.createMenu = theWebUI.createMenu; theWebUI.createMenu = function( e, id ) { plugin.createMenu.call(this, e, id); if (plugin.enabled) { theContextMenu.add(["Saber Fetch", "theWebUI.saberFetch('"+id+"')"]); } } } rTorrentStub.prototype.saberFetch = function() { var cmd = new rXMLRPCCommand("execute"); cmd.addParameter("string", "saber-drb_add"); cmd.addParameter("string", this.hashes.join(",")); cmd.addParameter("string", "saber"); this.commands.push(cmd); }
Version data entries
10 entries across 10 versions & 1 rubygems