mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
removed obsolete const values
This commit is contained in:
parent
0bd6e48563
commit
397de5c460
@ -51,7 +51,6 @@ const Important = 1 << 1;
|
|||||||
const AnyParty = 0 << 2;
|
const AnyParty = 0 << 2;
|
||||||
const FirstParty = 1 << 2;
|
const FirstParty = 1 << 2;
|
||||||
const ThirdParty = 2 << 2;
|
const ThirdParty = 2 << 2;
|
||||||
const SpecificParty = 3 << 2;
|
|
||||||
|
|
||||||
var typeNameToTypeValue = {
|
var typeNameToTypeValue = {
|
||||||
'any': 1 << 4,
|
'any': 1 << 4,
|
||||||
@ -69,18 +68,14 @@ const AnyType = typeNameToTypeValue['any'];
|
|||||||
const BlockAnyTypeAnyParty = BlockAction | AnyType | AnyParty;
|
const BlockAnyTypeAnyParty = BlockAction | AnyType | AnyParty;
|
||||||
const BlockAnyType1stParty = BlockAction | AnyType | FirstParty;
|
const BlockAnyType1stParty = BlockAction | AnyType | FirstParty;
|
||||||
const BlockAnyType3rdParty = BlockAction | AnyType | ThirdParty;
|
const BlockAnyType3rdParty = BlockAction | AnyType | ThirdParty;
|
||||||
const BlockAnyTypeOneParty = BlockAction | AnyType | SpecificParty;
|
|
||||||
const BlockAnyType = BlockAction | AnyType;
|
const BlockAnyType = BlockAction | AnyType;
|
||||||
const BlockAnyParty = BlockAction | AnyParty;
|
const BlockAnyParty = BlockAction | AnyParty;
|
||||||
const BlockOneParty = BlockAction | SpecificParty;
|
|
||||||
|
|
||||||
const AllowAnyTypeAnyParty = AllowAction | AnyType | AnyParty;
|
const AllowAnyTypeAnyParty = AllowAction | AnyType | AnyParty;
|
||||||
const AllowAnyType1stParty = AllowAction | AnyType | FirstParty;
|
const AllowAnyType1stParty = AllowAction | AnyType | FirstParty;
|
||||||
const AllowAnyType3rdParty = AllowAction | AnyType | ThirdParty;
|
const AllowAnyType3rdParty = AllowAction | AnyType | ThirdParty;
|
||||||
const AllowAnyTypeOneParty = AllowAction | AnyType | SpecificParty;
|
|
||||||
const AllowAnyType = AllowAction | AnyType;
|
const AllowAnyType = AllowAction | AnyType;
|
||||||
const AllowAnyParty = AllowAction | AnyParty;
|
const AllowAnyParty = AllowAction | AnyParty;
|
||||||
const AllowOneParty = AllowAction | SpecificParty;
|
|
||||||
|
|
||||||
var pageHostname = '';
|
var pageHostname = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user