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

Unified Diff: lib/io.js

Issue 29363560: Issue 4552 - Drop jshydra dependency (adblockpluschrome) (Closed)
Patch Set: Created Nov. 18, 2016, 5:20 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') | no next file » | 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 97c8c0c246664371f99ec2b7a53b21eab2618b24..8e1eb5596b9d6af0b3a7fb704cfbe2deadf5954f 100644
--- a/lib/io.js
+++ b/lib/io.js
@@ -42,7 +42,7 @@ function saveFile(file, data, callback)
ext.storage.set(
fileToKey(file),
{
- content: data,
+ content: Array.from(data),
kzar 2016/11/18 17:22:41 The data was a generator and was not being saved c
lastModified: Date.now()
},
callback
« lib/compat.js ('K') | « lib/compat.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld