Index: lib/tldjs.js |
diff --git a/lib/tldjs.js b/lib/tldjs.js |
index 9106aa2161267a8d5889f7f1ab3f876148eb273f..7a89a24a63e6dfe186c6fdd12a6346d0e6fc7f2c 100644 |
--- a/lib/tldjs.js |
+++ b/lib/tldjs.js |
@@ -15,11 +15,12 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
+/* global publicSuffixes */ |
+ |
/** @module tldjs */ |
"use strict"; |
-let getDomain = |
/** |
* Get the base domain for given hostname. |
* |
@@ -46,4 +47,4 @@ exports.getDomain = hostname => |
return hostname; |
return bits.slice(cutoff).join("."); |
-} |
+}; |