1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 02:47:58 +01:00

Remove a troublesome and unnecessary memoize statement.

This commit is contained in:
Kris Maglione
2010-10-04 23:54:57 -04:00
parent c747734f1e
commit 5946f6a757
3 changed files with 3 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ XML.ignoreWhitespace = false;
XML.prettyPrinting = false;
const plugins = { __proto__: modules };
memoize(modules, "userContext", function () newContext(modules));;
const userContext = newContext(modules);
const EVAL_ERROR = "__dactyl_eval_error";
const EVAL_RESULT = "__dactyl_eval_result";
@@ -1920,6 +1920,7 @@ const Dactyl = Module("dactyl", {
};
},
load: function () {
jsmodules.__proto__ = window;
dactyl.triggerObserver("load");
dactyl.log("All modules loaded", 3);