Index: lib/prefs.js |
diff --git a/lib/prefs.js b/lib/prefs.js |
index f02bfa74dfab802f79cec71e5acd9a3549155431..9c35ec1a0fbb3e6e47cce9e01de201318a9bf670 100644 |
--- a/lib/prefs.js |
+++ b/lib/prefs.js |
@@ -116,7 +116,8 @@ defaults.notificationurl = "https://notification.adblockplus.org/notification.js |
*/ |
defaults.blocked_total = 0; |
/** |
- * Whether to show a badge in the toolbar icon indicating the number of blocked ads. |
+ * Whether to show a badge in the toolbar icon indicating the number |
+ * of blocked ads. |
* |
* @type {boolean} |
*/ |
@@ -260,7 +261,8 @@ function init() |
let prefs = Object.keys(defaults); |
prefs.forEach(addPreference); |
- let localLoaded = new Promise(resolve => { |
+ let localLoaded = new Promise(resolve => |
+ { |
ext.storage.get(prefs.map(prefToKey), items => |
{ |
for (let key in items) |
@@ -270,7 +272,8 @@ function init() |
}); |
}); |
- let managedLoaded = new Promise(resolve => { |
+ let managedLoaded = new Promise(resolve => |
+ { |
if (require("info").platform == "chromium" && "managed" in chrome.storage) |
{ |
chrome.storage.managed.get(null, items => |