Index: lib/filterClasses.js |
diff --git a/lib/filterClasses.js b/lib/filterClasses.js |
index 40cecd58e0bacd90afbae2ab8a5cec364aa0de69..1c990c1992d34238ef220ced3bc6f27308fa6163 100644 |
--- a/lib/filterClasses.js |
+++ b/lib/filterClasses.js |
@@ -109,7 +109,7 @@ Filter.fromText = function(text) |
Filter.knownFilters[ret.text] = ret; |
return ret; |
-} |
+}; |
/** |
* Deserializes a filter |
@@ -130,7 +130,7 @@ Filter.fromObject = function(obj) |
ret._lastHit = parseInt(obj.lastHit) || 0; |
} |
return ret; |
-} |
+}; |
/** |
* Removes unnecessary whitespaces from filter text, will only return null if |
@@ -157,7 +157,7 @@ Filter.normalize = function(/**String*/ text) /**String*/ |
} |
else |
return text.replace(/\s/g, ""); |
-} |
+}; |
/** |
* Class for invalid filters |
@@ -725,7 +725,7 @@ RegExpFilter.fromText = function(text) |
{ |
return new InvalidFilter(origText, e); |
} |
-} |
+}; |
/** |
* Maps type strings like "SCRIPT" or "OBJECT" to bit masks |
@@ -808,7 +808,7 @@ exports.WhitelistFilter = WhitelistFilter; |
WhitelistFilter.prototype = |
{ |
__proto__: RegExpFilter.prototype |
-} |
+}; |
/** |
* Base class for element hiding filters |
@@ -908,7 +908,7 @@ ElemHideBase.fromText = function(text, domain, isException, tagName, attrRules, |
return new ElemHideException(text, domain, selector); |
else |
return new ElemHideFilter(text, domain, selector); |
-} |
+}; |
/** |
* Class for element hiding filters |