| Index: lib/filterComposer.js |
| =================================================================== |
| --- a/lib/filterComposer.js |
| +++ b/lib/filterComposer.js |
| @@ -40,6 +40,7 @@ |
| * |
| * @param {string} s |
| * @return {string} |
| + * @static |
| */ |
| function escapeCSS(s) |
| { |
| @@ -52,6 +53,7 @@ |
| * |
| * @param {string} value |
| * @return {string} |
| + * @static |
| */ |
| function quoteCSS(value) |
| { |
| @@ -77,7 +79,7 @@ |
| * the list of CSS selectors for the included element |
| * hiding filters: {filters: [...], selectors: [...]} |
| */ |
| -function composeFilters(details) |
| +exports.composeFilters = function(details) |
| { |
| let filters = []; |
| let selectors = []; |
| @@ -141,5 +143,4 @@ |
| } |
| return {filters: filters, selectors: selectors}; |
| -} |
| -exports.composeFilters = composeFilters; |
| +}; |