Index: lib/filterClassesNew.js |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/lib/filterClassesNew.js |
@@ -0,0 +1,23 @@ |
+"use strict"; |
+ |
+let compiled = require("./compiled"); |
+ |
+let FilterType = compiled.FilterType; |
+FilterType.INVALID.toString = () => "invalid"; |
+FilterType.COMMENT.toString = () => "comment"; |
+FilterType.BLOCKING.toString = () => "blocking"; |
+FilterType.WHITELIST.toString = () => "whitelist"; |
+FilterType.ELEMHIDE.toString = () => "elemhide"; |
+FilterType.ELEMHIDEEXCEPTION.toString = () => "elemhideexception"; |
+FilterType.CSSPROPERTY.toString = () => "cssproperty"; |
+ |
+exports.Filter = compiled.Filter; |
+exports.InvalidFilter = compiled.InvalidFilter; |
+exports.CommentFilter = compiled.CommentFilter; |
+exports.ActiveFilter = compiled.ActiveFilter; |
+exports.RegExpFilter = compiled.RegExpFilter; |
+exports.WhiteListFilter = compiled.WhiteListFilter; |
+exports.ElemHideBase = compiled.ElemHideBase; |
+exports.ElemHideFilter = compiled.ElemHideFilter; |
+exports.ElemHideException = compiled.ElemHideException; |
+exports.CSSPropertyFilter = compiled.CSSPropertyFilter; |