1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-04 01:59:38 +02:00

Rename method

This commit is contained in:
Raymond Hill 2020-11-29 14:03:33 -05:00
parent f9a84c82de
commit ed64039912
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -4319,7 +4319,7 @@ FilterContainer.prototype.filterQuery = function(fctxt) {
out.push(directive);
break;
}
const { all, bad, name, not, re } = this.parseFilterPruneValue(modifier);
const { all, bad, name, not, re } = this.parseQueryPruneValue(modifier);
if ( bad ) { continue; }
if ( all ) {
if ( isException === false ) { params.clear(); }
@ -4364,7 +4364,7 @@ FilterContainer.prototype.filterQuery = function(fctxt) {
return out;
};
FilterContainer.prototype.parseFilterPruneValue = function(modifier) {
FilterContainer.prototype.parseQueryPruneValue = function(modifier) {
if ( modifier.cache === undefined ) {
modifier.cache =
vAPI.StaticFilteringParser.parseQueryPruneValue(modifier.value);