Index: lib/tldjs.js |
=================================================================== |
--- a/lib/tldjs.js |
+++ b/lib/tldjs.js |
@@ -1,6 +1,6 @@ |
/* |
* This file is part of Adblock Plus <https://adblockplus.org/>, |
- * Copyright (C) 2006-2016 Eyeo GmbH |
+ * Copyright (C) 2006-2017 eyeo GmbH |
* |
* Adblock Plus is free software: you can redistribute it and/or modify |
* it under the terms of the GNU General Public License version 3 as |
@@ -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 @@ |
return hostname; |
return bits.slice(cutoff).join("."); |
-} |
+}; |