1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-28 09:44:05 +02:00

Promises cleanup.

This commit is contained in:
Kris Maglione
2015-03-02 18:12:57 -08:00
parent c84c657d27
commit 7b2f821e04
10 changed files with 160 additions and 126 deletions
+3 -3
View File
@@ -95,9 +95,9 @@ var Modules = function Modules(window) {
if (normal)
return create(proto);
sandbox = Components.utils.Sandbox(window, { sandboxPrototype: proto || modules,
sandboxName: name || ("Dactyl Sandbox " + ++_id),
wantXrays: true });
let sandbox = Components.utils.Sandbox(window, { sandboxPrototype: proto || modules,
sandboxName: name || ("Dactyl Sandbox " + ++_id),
wantXrays: true });
// Hack:
// sandbox.Object = jsmodules.Object;