Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: jshydra.js

Issue 6256752412590080: Issue 301 - jshydra: Handle for .. of .. (Closed)
Patch Set: autotest now passes for me Created April 11, 2014, 10:51 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autotest/abprewrite_source.js ('k') | scripts/abprewrite.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « autotest/abprewrite_source.js ('k') | scripts/abprewrite.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld