mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-30 10:50:19 +02:00
Port script collections to new script system
This commit is contained in:
@@ -615,6 +615,12 @@ Tomahawk.PluginManager = {
|
||||
Tomahawk.registerScriptPlugin(type, object.id);
|
||||
},
|
||||
|
||||
unregisterPlugin: function(type, object) {
|
||||
this.objects[this.identifyObject(object)] = object;
|
||||
|
||||
Tomahawk.log("unregisterPlugin: " + type + " id: " + object.id);
|
||||
Tomahawk.unregisterScriptPlugin(type, object.id);
|
||||
},
|
||||
|
||||
invokeSync: function (objectId, methodName, params) {
|
||||
if (!this.objects[objectId]) {
|
||||
|
Reference in New Issue
Block a user