refactor: rewrite init.js
This commit is contained in:
@@ -33,7 +33,7 @@ public abstract class JavaScriptEngine extends ScriptEngine.AbstractScriptEngine
|
||||
}
|
||||
mRuntime = runtime;
|
||||
mRuntime.engines.setCurrentEngine(this);
|
||||
put("__runtime__", runtime);
|
||||
put("runtime", runtime);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user