mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 23:25:47 +01:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -8,8 +8,7 @@ try {
|
||||
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("contexts", {
|
||||
exports: ["Contexts", "Group", "contexts"],
|
||||
use: ["commands", "messages", "options", "services", "storage", "styles", "template", "util"]
|
||||
exports: ["Contexts", "Group", "contexts"]
|
||||
}, this);
|
||||
|
||||
var Const = function Const(val) Class.Property({ enumerable: true, value: val });
|
||||
|
||||
Reference in New Issue
Block a user