1
0
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:
Kris Maglione
2011-08-22 01:45:41 -04:00
parent fbb6af43ed
commit 60c858b59b
21 changed files with 33 additions and 55 deletions

View File

@@ -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?