mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-20 04:15:47 +01:00
[bootstrap] Add code to manually reload stale cached modules on rehash.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -14,7 +14,7 @@ defineModule("overlay", {
|
||||
* @class ModuleBase
|
||||
* The base class for all modules.
|
||||
*/
|
||||
const ModuleBase = Class("ModuleBase", {
|
||||
var ModuleBase = Class("ModuleBase", {
|
||||
/**
|
||||
* @property {[string]} A list of module prerequisites which
|
||||
* must be initialized before this module is loaded.
|
||||
@@ -24,7 +24,7 @@ const ModuleBase = Class("ModuleBase", {
|
||||
toString: function () "[module " + this.constructor.className + "]"
|
||||
});
|
||||
|
||||
const Overlay = Module("Overlay", {
|
||||
var Overlay = Module("Overlay", {
|
||||
init: function () {
|
||||
util.overlayWindow("chrome://browser/content/browser.xul", function (window) ({
|
||||
init: function (document) {
|
||||
|
||||
Reference in New Issue
Block a user