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

Unified Diff: lib/io.js

Issue 5825018483179520: Issue 2255 - Use "for (.. of ..)" loop for compatibility with ES6 generators (Closed)
Patch Set: Created April 1, 2015, 1:41 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/io.js
===================================================================
--- a/lib/io.js
+++ b/lib/io.js
@@ -218,7 +218,7 @@
return f.write(array);
}
- for (let line in data)
+ for (let line of data)
{
buf.push(line);
bufLen += line.length;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld