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: Remove used convert_js args Created Nov. 21, 2016, 11:14 a.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
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),
lastModified: Date.now()
},
callback

Powered by Google App Engine
This is Rietveld