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; |
+}; |