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

Unified Diff: qunit/common.js

Issue 5693109165883392: Issue 2040 - Replaced localStorage with chrome.storage.local (Closed)
Patch Set: Rebased and renamed onProgress() to checkLoaded() Created April 8, 2015, 3:12 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
Index: qunit/common.js
===================================================================
--- a/qunit/common.js
+++ b/qunit/common.js
@@ -45,8 +45,9 @@
this._pbackup = Object.create(null);
for (var pref in Prefs)
{
- if (typeof Prefs[pref] != "function")
- this._pbackup[pref] = Prefs[pref];
+ var value = Prefs[pref];
+ if (!(value instanceof ext._EventTarget))
+ this._pbackup[pref] = value;
}
Prefs.enabled = true;
}
« background.js ('K') | « metadata.chrome ('k') | safari/ext/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld