mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-29 14:13:31 +02:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("downloads", {
|
||||
exports: ["Download", "Downloads", "downloads"],
|
||||
use: ["io", "messages", "prefs", "services", "util"]
|
||||
exports: ["Download", "Downloads", "downloads"]
|
||||
}, this);
|
||||
|
||||
Cu.import("resource://gre/modules/DownloadUtils.jsm", this);
|
||||
|
||||
Reference in New Issue
Block a user