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

Delta Between Two Patch Sets: qunit/common.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Left Patch Set: Address Sebastian's feedback, don't update adblockpluscore Created March 30, 2017, 7:08 a.m.
Right Patch Set: Use .includes again Created March 31, 2017, 8:37 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « qunit/.eslintrc.json ('k') | qunit/tests/cssEscaping.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2017 eyeo GmbH 3 * Copyright (C) 2006-2017 eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 21 matching lines...) Expand all
32 Filter.knownFilters = Object.create(null); 32 Filter.knownFilters = Object.create(null);
33 33
34 defaultMatcher.clear(); 34 defaultMatcher.clear();
35 ElemHide.clear(); 35 ElemHide.clear();
36 } 36 }
37 37
38 function restoreFilterComponents() 38 function restoreFilterComponents()
39 { 39 {
40 } 40 }
41 41
42 function preparePrefs()
43 {
44 this._pbackup = Object.create(null);
45 for (let pref in Prefs)
46 {
47 let value = Prefs[pref];
48 this._pbackup[pref] = value;
49 }
50 Prefs.enabled = true;
51 }
52
53 function restorePrefs()
54 {
55 for (let pref in this._pbackup)
56 Prefs[pref] = this._pbackup[pref];
57 }
58
59 function executeFirstRunActions() 42 function executeFirstRunActions()
60 { 43 {
61 } 44 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld