Index: lib/prefs.js |
=================================================================== |
--- a/lib/prefs.js |
+++ b/lib/prefs.js |
@@ -76,17 +76,17 @@ function defineProperty(key) |
let stringified = JSON.stringify(newValue); |
if (stringified != JSON.stringify(defaults[key])) |
ext.storage[key] = stringified; |
else |
delete ext.storage[key]; |
value = newValue; |
- for each (let listener in listeners) |
+ for (let listener of listeners) |
listener(key); |
return value; |
}); |
} |
let Prefs = exports.Prefs = { |