Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterClasses.js

Issue 6302563414573056: Noissue - Added missing semicolons and other trivial fixes. (Closed)
Patch Set: Created March 6, 2015, 9:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/elemHideHitRegistration.js ('k') | lib/subscriptionClasses.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « lib/elemHideHitRegistration.js ('k') | lib/subscriptionClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld