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 require parameter Created Nov. 30, 2016, 2:35 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 | « lib/compat.js ('k') | metadata.common » ('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 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
« no previous file with comments | « lib/compat.js ('k') | metadata.common » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld