mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 09:55:47 +01:00
Cleanup crufty apply code.
This commit is contained in:
@@ -238,7 +238,7 @@ var Addon = Class("Addon", {
|
||||
|
||||
["cancelUninstall", "findUpdates", "getResourceURI", "hasResource", "isCompatibleWith",
|
||||
"uninstall"].forEach(function (prop) {
|
||||
Addon.prototype[prop] = function proxy() this.addon[prop].apply(this.addon, arguments);
|
||||
Addon.prototype[prop] = function proxy() apply(this.addon, prop, arguments);
|
||||
});
|
||||
|
||||
["aboutURL", "appDisabled", "applyBackgroundUpdates", "blocklistState", "contributors", "creator",
|
||||
|
||||
Reference in New Issue
Block a user