1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:48:00 +01:00

Work around new problems introduced by recent JägerMonkey changes. Closes issue #95.

This commit is contained in:
Kris Maglione
2010-10-18 21:39:19 -04:00
parent 11b096f3fd
commit b34fe0b741

View File

@@ -298,7 +298,7 @@ const Dactyl = Module("dactyl", {
if (!context) if (!context)
context = userContext; context = userContext;
context[EVAL_STRING] = str; context[EVAL_STRING] = str;
return Cu.evalInSandbox("with (window) { eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber); return Cu.evalInSandbox("with (window) { this.eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber);
}, },
/** /**