Index: jshydra.js |
=================================================================== |
--- a/jshydra.js |
+++ b/jshydra.js |
@@ -35,9 +35,9 @@ var _print = print; |
} |
if (!scriptArgs.length) |
throw Error("No script to execute"); |
include(scriptArgs[0]); |
for (var i = 1; i < scriptArgs.length; i++) |
process_js(Reflect.parse(read(scriptArgs[i])), scriptArgs[i], scriptArg); |
-})(arguments); |
+})(this.arguments || this.scriptArgs); |