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:
@@ -987,6 +987,9 @@ const liberator = (function () //{{{
|
|||||||
{
|
{
|
||||||
liberator.log("Initializing liberator object...", 0);
|
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
|
// commands must always be the first module to be initialized
|
||||||
loadModule("commands", liberator.Commands); addCommands();
|
loadModule("commands", liberator.Commands); addCommands();
|
||||||
loadModule("options", liberator.Options); addOptions();
|
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
|
// called when the chrome is fully loaded and before the main window is shown
|
||||||
window.addEventListener("load", liberator.startup, false);
|
window.addEventListener("load", liberator.startup, false);
|
||||||
window.addEventListener("unload", liberator.shutdown, false);
|
window.addEventListener("unload", liberator.shutdown, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user