diff options
author | alon@honor <none@none> | 2010-09-11 16:03:11 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-11 16:03:11 -0700 |
commit | f0e4c9f4703d07c3f5479cf73c82b712a2d7efb0 (patch) | |
tree | 6a3ac97140c711104750502322e5a38799643f38 | |
parent | 5fe819882bcdb7b63093c46b902c9ca41db0d54d (diff) |
fallback if no |arguments| (like on the web)
-rw-r--r-- | src/postamble.js | 2 |
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; |