mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 00:35:46 +01:00
Experimentally move commands.js and options.js to modules. Fix some bugs.
--HG-- branch : groups rename : common/content/commands.js => common/modules/commands.jsm rename : common/content/options.js => common/modules/options.jsm
This commit is contained in:
@@ -154,6 +154,7 @@ var Overlay = Module("Overlay", {
|
||||
defineModule.time("load", null, function _load() {
|
||||
["addons",
|
||||
"base",
|
||||
"commands",
|
||||
"completion",
|
||||
"config",
|
||||
"downloads",
|
||||
@@ -161,6 +162,7 @@ var Overlay = Module("Overlay", {
|
||||
"highlight",
|
||||
"io",
|
||||
"javascript",
|
||||
"options",
|
||||
"overlay",
|
||||
"prefs",
|
||||
"services",
|
||||
@@ -177,14 +179,12 @@ var Overlay = Module("Overlay", {
|
||||
"abbreviations",
|
||||
"autocommands",
|
||||
"buffer",
|
||||
"commands",
|
||||
"editor",
|
||||
"events",
|
||||
"hints",
|
||||
"mappings",
|
||||
"marks",
|
||||
"mow",
|
||||
"options",
|
||||
"statusline"
|
||||
].forEach(function (name) defineModule.time("load", name, modules.load, modules, name));
|
||||
|
||||
@@ -325,6 +325,8 @@ var Overlay = Module("Overlay", {
|
||||
}
|
||||
});
|
||||
|
||||
endModule();
|
||||
|
||||
} catch(e){ if (!e.stack) e = Error(e); dump(e.fileName+":"+e.lineNumber+": "+e+"\n" + e.stack); }
|
||||
|
||||
// vim: set fdm=marker sw=4 ts=4 et ft=javascript:
|
||||
|
||||
Reference in New Issue
Block a user