Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: qunit/common.js

Issue 29907589: Issue 7054 - Update the adblockpluscore dependency to 5cb695da5a40, adblockplusui to f86abf2efdfd (Closed)
Patch Set: Update dependency for adblockpluscore Created Dec. 21, 2018, 7:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: qunit/common.js
===================================================================
--- a/qunit/common.js
+++ b/qunit/common.js
@@ -12,27 +12,27 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
-const {FilterStorage} = require("../adblockpluscore/lib/filterStorage");
+const {filterStorage} = require("../adblockpluscore/lib/filterStorage");
const {Subscription} = require("../adblockpluscore/lib/subscriptionClasses");
const {Filter} = require("../adblockpluscore/lib/filterClasses");
const {defaultMatcher} = require("../adblockpluscore/lib/matcher");
const {ElemHide} = require("../adblockpluscore/lib/elemHide");
const {Prefs} = require("../lib/prefs");
function prepareFilterComponents(keepListeners)
{
- FilterStorage.subscriptions = [];
- FilterStorage.knownSubscriptions = Object.create(null);
+ filterStorage.subscriptions = [];
+ filterStorage.knownSubscriptions = Object.create(null);
Subscription.knownSubscriptions = Object.create(null);
Filter.knownFilters = Object.create(null);
Jon Sonesen 2019/01/04 00:36:28 Is this code being used to re-initialize the objec
Jon Sonesen 2019/01/04 01:12:21 Nevermind I goofed and shouldn't be messing with t
kzar 2019/01/04 11:41:18 It seems to me that this code isn't actually used
kzar 2019/01/04 15:48:20 (I recommend removing all your changes to this fil
defaultMatcher.clear();
ElemHide.clear();
}
function restoreFilterComponents()
« lib/devtools.js ('K') | « lib/whitelisting.js ('k') | qunit/tests/indexedDBBackup.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld