Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
d0966ef317
@ -214,12 +214,13 @@ var charIterateState;
|
|||||||
function charIterate(input) {
|
function charIterate(input) {
|
||||||
if (charIterateState == undefined) {
|
if (charIterateState == undefined) {
|
||||||
charIterateState = 0;
|
charIterateState = 0;
|
||||||
}
|
} else {
|
||||||
if (charIterateState < (input.length - 1)) {
|
if (charIterateState < (input.length - 1)) {
|
||||||
charIterateState++;
|
charIterateState++;
|
||||||
} else {
|
} else {
|
||||||
charIterateState = 0;
|
charIterateState = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
console.log(charIterateState, input.charAt(charIterateState));
|
console.log(charIterateState, input.charAt(charIterateState));
|
||||||
return charIterateState;
|
return charIterateState;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user