1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-27 22:35:45 +01:00

Fix some dactyl.userEval magic now that it works again.

This commit is contained in:
Kris Maglione
2010-10-16 17:12:58 -04:00
parent 64694a6327
commit c96375d7ee

View File

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