1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:52:25 +01:00

make vimperator start up again

This commit is contained in:
Martin Stubenschrott
2008-09-11 20:33:48 +00:00
parent 2a70f7cd8b
commit 88ed44450f

View File

@@ -987,6 +987,9 @@ const liberator = (function () //{{{
{
liberator.log("Initializing liberator object...", 0);
// components which should be shared across all windows
Components.utils.import("resource://" + liberator.config.name.toLowerCase() + "/storage.jsm", liberator);
// commands must always be the first module to be initialized
loadModule("commands", liberator.Commands); addCommands();
loadModule("options", liberator.Options); addOptions();
@@ -1154,8 +1157,6 @@ const liberator = (function () //{{{
//}}}
})(); //}}}
Components.utils.import("resource://" + liberator.config.name.toLowerCase() + "/storage.jsm", liberator);
// called when the chrome is fully loaded and before the main window is shown
window.addEventListener("load", liberator.startup, false);
window.addEventListener("unload", liberator.shutdown, false);