Update for ESLint version
This commit is contained in:
parent
08e130af38
commit
5f5492ce0c
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ function getPhCharlist(param) {
|
|||
from = matches[1].charCodeAt(0);
|
||||
to = matches[2].charCodeAt(0);
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue