Fix: remove useless codes

This commit is contained in:
2019-06-25 12:50:38 +09:00
parent 5638266178
commit 037ee407d2
4 changed files with 16 additions and 314 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ TypingTextManager.prototype.getSplitedSentences = function(sentence) {
// if a word is longer than SENTENCE_MAX_CHARACTER
// then split the word with SENTENCE_MAX_CHARACTER length
if(this.isWordTooLong(words[i])) {
console.log(words[i]);
// console.log(words[i]);
if(this.isNotEmptySentence(splitedSentences[sentenceIndex]))
sentenceIndex++; // start with new empty sentence