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

Unified Diff: lib/filterValidation.js

Issue 6445129351036928: Noissue - Fixed issue where JsDoc documented module functions incorrectly (Closed)
Patch Set: Fixed syntax error Created April 18, 2015, 2:54 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/filterComposer.js ('k') | lib/icon.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterValidation.js
===================================================================
--- a/lib/filterValidation.js
+++ b/lib/filterValidation.js
@@ -29,6 +29,7 @@
* @return {Filter}
* @throws Will throw an exception if filter cannot be
* parsed or contains an invalid CSS selector.
+ * @static
*/
function parseFilter(text, ignoreHeaders)
{
@@ -82,7 +83,7 @@
* @throws Will throw an exception if one of the filters cannot
be parsed or contains an invalid CSS selector.
*/
-function parseFilters(text, ignoreHeaders)
+exports.parseFilters = function(text, ignoreHeaders)
{
let lines = text.split("\n");
let filters = [];
@@ -104,5 +105,4 @@
}
return filters;
-}
-exports.parseFilters = parseFilters;
+};
« no previous file with comments | « lib/filterComposer.js ('k') | lib/icon.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld