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: Created April 10, 2014, 5:05 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 | « no previous file | 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);
Wladimir Palant 2014/04/10 17:15:10 I don't really get this change, mind explaining?
« no previous file with comments | « no previous file | scripts/abprewrite.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld