autofix no-var

This commit is contained in:
Thomas Grainger
2017-04-28 16:45:00 +01:00
parent 31e5d785fe
commit b33f73ac9a
61 changed files with 699 additions and 698 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ const Punycode = {
* @returns {string}
*/
runToAscii: function(input, args) {
var idn = args[0];
const idn = args[0];
if (idn) {
return punycode.toASCII(input);
@@ -44,7 +44,7 @@ const Punycode = {
* @returns {string}
*/
runToUnicode: function(input, args) {
var idn = args[0];
const idn = args[0];
if (idn) {
return punycode.toUnicode(input);