mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 16:45:45 +01:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -10,8 +10,7 @@ try {
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("addons", {
|
||||
exports: ["AddonManager", "Addons", "Addon", "addons"],
|
||||
require: ["services"],
|
||||
use: ["completion", "config", "io", "messages", "prefs", "template", "util"]
|
||||
require: ["services"]
|
||||
}, this);
|
||||
|
||||
var callResult = function callResult(method) {
|
||||
|
||||
Reference in New Issue
Block a user