aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-27 22:12:02 -0700
committeralon@honor <none@none>2010-10-27 22:12:02 -0700
commit4b48a792ec61ce5b99c6eabf3b7b9f1e7f4afd8f (patch)
tree4b88210e14069791b83cd8c9a8a80cc86e936654 /src/postamble.js
parent027d1d7ca694ef5128c03a1535235ec65cc87fac (diff)
modularize generated code
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js
index 07fe1d2e..142ee013 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -32,7 +32,7 @@ function run(args) {
}
try {
- run(this.arguments ? arguments : []);
+ run(this.args ? this.args : (this.arguments ? this.arguments : []));
} catch (e) {
print("Fatal exception: " + e);
throw e;