| Index: lib/filterComposer.js |
| diff --git a/lib/filterComposer.js b/lib/filterComposer.js |
| index 10390f9f3be7462ec52da3639872fa1df757b2a8..bbb5f756dafd46175d15ddd732a8e201f77d78a4 100644 |
| --- a/lib/filterComposer.js |
| +++ b/lib/filterComposer.js |
| @@ -35,7 +35,7 @@ let readyPages = new ext.PageMap(); |
| * @param {Page} page |
| * @return {boolean} |
| */ |
| -exports.isPageReady = function(page) |
| +exports.isPageReady = page => |
| { |
| return readyPages.has(page); |
| }; |
| @@ -66,7 +66,7 @@ let escapeCSS = |
| * @return {string} |
| * @static |
| */ |
| -exports.escapeCSS = function(s) |
| +exports.escapeCSS = s => |
| { |
| return s.replace(/^[\d\-]|[^\w\-\u0080-\uFFFF]/g, escapeChar); |
| }; |
| @@ -79,7 +79,7 @@ let quoteCSS = |
| * @return {string} |
| * @static |
| */ |
| -exports.quoteCSS = function(value) |
| +exports.quoteCSS = value => |
| { |
| return '"' + value.replace(/["\\\{\}\x00-\x1F\x7F]/g, escapeChar) + '"'; |
| }; |