mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 06:35:48 +01:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("highlight", {
|
||||
exports: ["Highlight", "Highlights", "highlight"],
|
||||
require: ["services", "styles", "util"],
|
||||
use: ["messages", "template"]
|
||||
require: ["services", "styles", "util"]
|
||||
}, this);
|
||||
|
||||
var Highlight = Struct("class", "selector", "sites",
|
||||
|
||||
Reference in New Issue
Block a user