Let's try mozilla's fixedCharAt function
This commit is contained in:
parent
35af3ce870
commit
5cf9dab550
@ -220,7 +220,7 @@ function charIterate(input) {
|
||||
if (charIterateState < (input.length - 1)) {
|
||||
charIterateState++;
|
||||
if (surrogatePairs.exec(input.charCodeAt(charIterateState)) !== null) {
|
||||
charIterateState++;
|
||||
//charIterateState++;
|
||||
}
|
||||
} else {
|
||||
charIterateState = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user