private String filePath = null;
public Script(String filePath) throws JSExn, IOException {
this.filePath = filePath;
- js = JSU.cloneWithNewGlobalScope(JSU.fromReader(filePath, 0, new InputStreamReader(new FileInputStream(filePath))),
+ js = JSU.cloneWithNewGlobalScope(JSU.fromReader(filePath, 1, new InputStreamReader(new FileInputStream(filePath))),
new ScriptScope()); }
private class ScriptScope extends JS.Immutable {