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() |