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]) |