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:
@@ -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);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user