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

Unified Diff: lib/io.js

Issue 29481653: Issue 5378 - Stop using of jshydra in libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created July 6, 2017, 1:32 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
« lib/compat.js ('K') | « lib/compat.js ('k') | lib/updater.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/io.js
diff --git a/lib/io.js b/lib/io.js
index 3660fa7da6b361cd11d0e96bcfaeea0d4e7520b8..012529f64e1511bc433ad2cc63540781146bd3be 100644
--- a/lib/io.js
+++ b/lib/io.js
@@ -43,7 +43,7 @@ var IO = exports.IO =
writeToFile: function(file, data, callback, timeLineID)
{
- var content = data.join(this.lineBreak) + this.lineBreak;
+ let content = Array.from(data).join(this.lineBreak) + this.lineBreak;
sergei 2017/07/06 13:37:01 core/filterStorage.js calls writeToFile and passes
_fileSystem.write(file.path, content, callback);
},
« lib/compat.js ('K') | « lib/compat.js ('k') | lib/updater.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld