Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/tldjs.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Remove some unnecessary changes Created March 23, 2017, 9:29 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/subscriptionInit.js ('k') | lib/url.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/tldjs.js
diff --git a/lib/tldjs.js b/lib/tldjs.js
index 95349c66a503062520d42e371306b9c12140dd91..b93f5a311806939f4a43b1b92e05b9e8a36e073c 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(".");
-}
+};
« no previous file with comments | « lib/subscriptionInit.js ('k') | lib/url.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld