1
0
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:
Kris Maglione
2010-12-25 08:54:33 -05:00
parent 53786141e1
commit a759ab3606
14 changed files with 122 additions and 78 deletions

View File

@@ -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) {