1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-29 06:07:11 +02:00

code review re. https://github.com/gorhill/uBlock/issues/134: no need to force a recompile of whole user filter list

This commit is contained in:
gorhill 2015-04-30 07:56:23 -04:00
parent 84f974766e
commit 803a0c54f5

View File

@ -159,7 +159,7 @@
var µb = this;
var onCompiledListLoaded = function() {
var onSaved = function() {
var compiledFilters = µb.compileFilters(filters);
var snfe = µb.staticNetFilteringEngine;
var cfe = µb.cosmeticFilteringEngine;
@ -176,13 +176,6 @@
µb.cosmeticFilteringEngine.freeze();
};
var onSaved = function(details) {
if ( details.error ) {
return;
}
µb.getCompiledFilterList(µb.userFiltersPath, onCompiledListLoaded);
};
var onLoaded = function(details) {
if ( details.error ) {
return;