mirror of https://github.com/gorhill/uBlock.git
minor code review
This commit is contained in:
parent
4aab4c12d0
commit
04d59367b0
|
@ -43,7 +43,7 @@ var fromNetFilter = function(details) {
|
||||||
var lists = [];
|
var lists = [];
|
||||||
|
|
||||||
var compiledFilter = details.compiledFilter;
|
var compiledFilter = details.compiledFilter;
|
||||||
var entry, content, pos, c
|
var entry, content, pos, c;
|
||||||
for ( var path in listEntries ) {
|
for ( var path in listEntries ) {
|
||||||
entry = listEntries[path];
|
entry = listEntries[path];
|
||||||
if ( entry === undefined ) {
|
if ( entry === undefined ) {
|
||||||
|
|
|
@ -628,7 +628,7 @@
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
// https://github.com/gorhill/uBlock/issues/1395
|
// https://github.com/gorhill/uBlock/issues/1395
|
||||||
// Added `firstparty` argument: to avoid discarding cosmetic filtering when
|
// Added `firstparty` argument: to avoid discarding cosmetic filters when
|
||||||
// applying 1st-party filters.
|
// applying 1st-party filters.
|
||||||
|
|
||||||
µBlock.applyCompiledFilters = function(rawText, firstparty) {
|
µBlock.applyCompiledFilters = function(rawText, firstparty) {
|
||||||
|
|
Loading…
Reference in New Issue