1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 21:15:47 +01:00

Allow loading plugins globally.

This commit is contained in:
Kris Maglione
2011-10-01 22:49:32 -04:00
parent 36fac82035
commit c9583ac72f
3 changed files with 118 additions and 15 deletions

View File

@@ -128,6 +128,8 @@ let jsmodules = {
memoize(target || this, name, function (name) require(module)[name]);
}
};
jsmodules.jsmodules = jsmodules;
let use = {};
let loaded = {};
let currentModule;