projects
/
org.ibex.mail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c3e038
)
fix line numbers in mail scripts
author
adam
<adam@megacz.com>
Sat, 15 Jan 2005 11:15:15 +0000
(11:15 +0000)
committer
adam
<adam@megacz.com>
Sat, 15 Jan 2005 11:15:15 +0000
(11:15 +0000)
darcs-hash:
20050115111515
-5007d-
26a7bb3b2d6292db3b8eb4aa0049078415469ada
.gz
src/org/ibex/mail/target/Script.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/mail/target/Script.java
b/src/org/ibex/mail/target/Script.java
index
f3e8adf
..
0bf36b4
100644
(file)
--- a/
src/org/ibex/mail/target/Script.java
+++ b/
src/org/ibex/mail/target/Script.java
@@
-32,7
+32,7
@@
public class Script extends Target {
private String filePath = null;
public Script(String filePath) throws JSExn, IOException {
this.filePath = filePath;
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 {
new ScriptScope()); }
private class ScriptScope extends JS.Immutable {