[Pkg-mozext-commits] [adblock-plus] 08/74: Issue 2255 - Use "for (.. of ..)" loop for compatibility with ES6 generators
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 12:07:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit e191d5180edc349c9afdcf5dea031dba25c8b915
Author: Sebastian Noack <sebastian at adblockplus.org>
Date: Wed Apr 1 15:41:04 2015 +0200
Issue 2255 - Use "for (.. of ..)" loop for compatibility with ES6 generators
---
lib/io.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/io.js b/lib/io.js
index e1f440d..9eaf02d 100644
--- a/lib/io.js
+++ b/lib/io.js
@@ -218,7 +218,7 @@ let IO = exports.IO =
return f.write(array);
}
- for (let line in data)
+ for (let line of data)
{
buf.push(line);
bufLen += line.length;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list