From c96375d7ee47da1d695e3f0fb3b82bed4afe8ef6 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 16 Oct 2010 17:12:58 -0400 Subject: [PATCH] Fix some dactyl.userEval magic now that it works again. --- common/content/dactyl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 92519683..53bdaef1 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -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); }, /**