Merge branch 'master' into jake

Conflicts:
	Objective-J/Runtime/constants.js
This commit is contained in:
Francisco Ryan Tolmasky I
2009-10-13 13:45:41 -07:00
4 changed files with 4 additions and 4 deletions
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ function fragment_evaluate_code(aFragment)
if (typeof system !== "undefined" && system.engine === "rhino")
compiled = Packages.org.mozilla.javascript.Context.getCurrentContext().compileFunction(window, functionText, GET_FILE(aFragment).path, 0, null);
else
compiled = eval(functionText);
compiled = eval("("+functionText+")");
#else
// "//@ sourceURL=" at the end lets us name our eval'd files for debuggers, etc.
// * WebKit: http://pmuellr.blogspot.com/2009/06/debugger-friendly.html