mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 10:55:45 +01:00
Small fixes. Add Components to list of magical JS global properties.
--HG-- extra : rebase_source : ba08f90f02d5362108cfbffd2f9ce9a89d8e905e
This commit is contained in:
@@ -143,7 +143,7 @@ const Services = Module("Services", {
|
||||
Components.utils.import("resource://gre/modules/AddonManager.jsm", modules);
|
||||
},
|
||||
javascript: function (dactyl, modules) {
|
||||
modules.JavaScript.setCompleter(this.get, [function () services.services]);
|
||||
modules.JavaScript.setCompleter(this.get, [function () [[k, v] for ([k, v] in Iterator(services)) if (v instanceof Ci.nsISupports)]]);
|
||||
modules.JavaScript.setCompleter(this.create, [function () [[c, ""] for (c in services.classes)]]);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user