aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-09-11 16:03:11 -0700
committeralon@honor <none@none>2010-09-11 16:03:11 -0700
commitf0e4c9f4703d07c3f5479cf73c82b712a2d7efb0 (patch)
tree6a3ac97140c711104750502322e5a38799643f38
parent5fe819882bcdb7b63093c46b902c9ca41db0d54d (diff)
fallback if no |arguments| (like on the web)
-rw-r--r--src/postamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js
index f65d51d1..c156cd21 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -19,7 +19,7 @@ function run(args) {
}
try {
- run(arguments);
+ run(this.arguments ? arguments : []);
} catch (e) {
print("Fatal exception: " + e.stack);
throw e;