From 9cb91f8a48f9467e448f88984c20b3429e8a2510 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Mon, 13 Jul 2015 22:52:06 -0500 Subject: Spyblock updated to 2.6.9.0 from upstream changes --- data/extensions/spyblock@gnu.org/lib/sync.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'data/extensions/spyblock@gnu.org/lib/sync.js') diff --git a/data/extensions/spyblock@gnu.org/lib/sync.js b/data/extensions/spyblock@gnu.org/lib/sync.js index 05eeced..a250e81 100644 --- a/data/extensions/spyblock@gnu.org/lib/sync.js +++ b/data/extensions/spyblock@gnu.org/lib/sync.js @@ -1,6 +1,6 @@ /* - * This file is part of Adblock Plus , - * Copyright (C) 2006-2014 Eyeo GmbH + * This file is part of Adblock Plus , + * Copyright (C) 2006-2015 Eyeo GmbH * * Adblock Plus is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as @@ -250,7 +250,7 @@ ABPStore.prototype = let data = record.cleartext.subscriptions; // First make sure we have the same subscriptions on both sides - let seenSubscription = {__proto__: null}; + let seenSubscription = Object.create(null); for (let remoteSubscription of data) { seenSubscription[remoteSubscription.url] = true; @@ -292,7 +292,7 @@ ABPStore.prototype = } // Now sync the custom filters - let seenFilter = {__proto__: null}; + let seenFilter = Object.create(null); for (let remoteSubscription of data) { if (!("filters" in remoteSubscription)) -- cgit v1.2.3