mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-19 22:37:58 +01:00
Move stuff from overlay.jsm to main.jsm.
This commit is contained in:
4
common/bootstrap.js
vendored
4
common/bootstrap.js
vendored
@@ -102,7 +102,7 @@ function startup(data, reason) {
|
||||
addon = a;
|
||||
updateVersion();
|
||||
if (typeof require !== "undefined")
|
||||
require(global, "overlay");
|
||||
require(global, "main");
|
||||
});
|
||||
|
||||
if (basePath.isDirectory())
|
||||
@@ -260,7 +260,7 @@ function init() {
|
||||
updateVersion();
|
||||
|
||||
if (addon !== addonData)
|
||||
require(global, "overlay");
|
||||
require(global, "main");
|
||||
}
|
||||
|
||||
function shutdown(data, reason) {
|
||||
|
||||
Reference in New Issue
Block a user