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: Use var for ext declarations again Created Feb. 8, 2017, 9:02 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
Index: lib/tldjs.js
diff --git a/lib/tldjs.js b/lib/tldjs.js
index 9106aa2161267a8d5889f7f1ab3f876148eb273f..514c116e70c0f1231713de963ad6ad14feb10718 100644
--- a/lib/tldjs.js
+++ b/lib/tldjs.js
@@ -15,6 +15,8 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
+/* global publicSuffixes */
+
/** @module tldjs */
"use strict";
@@ -46,4 +48,4 @@ exports.getDomain = hostname =>
return hostname;
return bits.slice(cutoff).join(".");
-}
+};

Powered by Google App Engine
This is Rietveld