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

Unified Diff: lib/prefs.js

Issue 5519479341580288: Issue 2437 - Update adblockplus dependency to revision 752ffe2eeaf1 (Closed)
Patch Set: Created April 29, 2015, 4:44 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: lib/prefs.js
===================================================================
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -52,7 +52,7 @@
function defineProperty(key)
{
- Prefs.__defineGetter__(key, function() values[key]);
+ Prefs.__defineGetter__(key, function() { return values[key] });
Felix Dahlke 2015/04/29 16:47:38 Had to change this - jshydra doesn't handle functi
Wladimir Palant 2015/04/29 17:42:57 Why not change it into |() => values[key]|? Note t
Felix Dahlke 2015/04/30 05:06:11 Done.
Prefs.__defineSetter__(key, function(value)
{
if (typeof value != typeof defaults[key])

Powered by Google App Engine
This is Rietveld