mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-22 10:34:14 +01:00
Use sandboxes for all JS contexts, to fix breakage, now that we have CPG anyway.
--HG-- extra : rebase_source : 0eb9d8c6a8ee533d6e12d71372554163f9479cf2
This commit is contained in:
@@ -138,8 +138,8 @@ var Contexts = Module("contexts", {
|
||||
completer: function (context) modules.completion.group(context)
|
||||
});
|
||||
|
||||
memoize(modules, "userContext", () => contexts.Context(modules.io.getRCFile("~", true), contexts.user, [modules, true]));
|
||||
memoize(modules, "_userContext", () => contexts.Context(modules.io.getRCFile("~", true), contexts.user, [modules.userContext]));
|
||||
memoize(modules, "userContext", () => contexts.Context(modules.io.getRCFile("~", true), contexts.user, [modules, false]));
|
||||
memoize(modules, "_userContext", () => modules.userContext);
|
||||
},
|
||||
|
||||
cleanup: function () {
|
||||
|
||||
Reference in New Issue
Block a user