Index: lib/prefs.js |
=================================================================== |
--- a/lib/prefs.js |
+++ b/lib/prefs.js |
@@ -56,17 +56,17 @@ function defineProperty(key) |
throw new Error("Attempt to change preference type"); |
if (value == defaults[key]) |
delete values[key]; |
else |
values[key] = value; |
save(); |
- for each (let listener in listeners) |
+ for (let listener of listeners) |
listener(key); |
}); |
} |
function load() |
{ |
_fileSystem.read(path, function(result) |
{ |