Index: lib/whitelisting.js |
diff --git a/lib/whitelisting.js b/lib/whitelisting.js |
index 3283952bf860f7db1d853941ef76643db4a8862c..93b737127c84d57f9f01abf3bf36146396028eb9 100644 |
--- a/lib/whitelisting.js |
+++ b/lib/whitelisting.js |
@@ -60,7 +60,7 @@ let checkWhitelisted = |
* @param {number} [typeMask=RegExpFilter.typeMap.DOCUMENT] |
* @return {?WhitelistFilter} |
*/ |
-exports.checkWhitelisted = function(page, frame, typeMask) |
+exports.checkWhitelisted = (page, frame, typeMask) => |
{ |
if (typeof typeMask == "undefined") |
typeMask = RegExpFilter.typeMap.DOCUMENT; |
@@ -118,7 +118,7 @@ let getKey = |
* @param {Frame} frame |
* @return {string} |
*/ |
-exports.getKey = function(page, frame) |
+exports.getKey = (page, frame) => |
{ |
let keys = sitekeys.get(page); |
if (!keys) |