From 1dea90051b2dc17823171d3d2b2f5bea9e33bb79 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 22 Nov 2017 19:25:45 -0800 Subject: [PATCH] Do not use template strings for es5 compat --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 95c4225..759433c 100644 --- a/index.js +++ b/index.js @@ -19,8 +19,7 @@ function namehash (inputName) { } } - return `0x${node}` -} + return '0x' + node function normalize(name) { return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name