Merge branch 'master' of https://github.com/TopchetoEU/java-jscript
This commit is contained in:
commit
d1e93c2088
@ -424,7 +424,7 @@ public class SimpleDebugger implements Debugger {
|
|||||||
env.global = new GlobalScope(local);
|
env.global = new GlobalScope(local);
|
||||||
|
|
||||||
var ctx = new Context(engine).pushEnv(env);
|
var ctx = new Context(engine).pushEnv(env);
|
||||||
var awaiter = engine.pushMsg(false, ctx, new Filename("temp", "exec"), code, codeFrame.frame.thisArg, codeFrame.frame.args);
|
var awaiter = engine.pushMsg(false, ctx, new Filename("temp", "exec"), "(" + code + ")", codeFrame.frame.thisArg, codeFrame.frame.args);
|
||||||
|
|
||||||
engine.run(true);
|
engine.run(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user