mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 11:15:47 +01:00
Move the ACR disabler to common/, pass it an add-on ID.
--HG-- rename : pentadactyl/content/disable-acr.jsm => common/content/disable-acr.jsm
This commit is contained in:
@@ -249,13 +249,7 @@ var Overlay = Module("Overlay", {
|
||||
defineModule.loadLog.push(" from: " + util.fixURI(frame.filename) + ":" + frame.lineNumber);
|
||||
|
||||
let obj = defineModule.time(module.className, "init", module);
|
||||
try {
|
||||
delete modules[module.className];
|
||||
modules[module.className] = obj;
|
||||
}
|
||||
catch (e) {
|
||||
Class.replaceProperty(modules, module.className, obj);
|
||||
}
|
||||
Class.replaceProperty(modules, module.className, obj);
|
||||
loaded[module.className] = true;
|
||||
|
||||
frob(module.className);
|
||||
|
||||
Reference in New Issue
Block a user