Update for ESLint version

This commit is contained in:
anseki 2016-04-27 22:26:19 +09:00
parent 08e130af38
commit 5f5492ce0c

View file

@ -694,7 +694,7 @@ function getPhCharlist(param) {
from = matches[1].charCodeAt(0); from = matches[1].charCodeAt(0);
to = matches[2].charCodeAt(0); to = matches[2].charCodeAt(0);
step = from < to ? 1 : -1; step = from < to ? 1 : -1;
for (code = from; code !== to + step; code += step) { text += String.fromCharCode(code); } /* ESLint bug */ // eslint-disable-line no-unmodified-loop-condition for (code = from; code !== to + step; code += step) { text += String.fromCharCode(code); }
return text; return text;
} }