mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-20 20:25:46 +01:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -12,8 +12,7 @@ try {
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("io", {
|
||||
exports: ["IO", "io"],
|
||||
require: ["services"],
|
||||
use: ["config", "help", "messages", "storage", "styles", "template", "util"]
|
||||
require: ["services"]
|
||||
}, this);
|
||||
|
||||
// TODO: why are we passing around strings rather than file objects?
|
||||
|
||||
Reference in New Issue
Block a user