Fix: remove useless codes

This commit is contained in:
jisangs committed 2019-09-15 19:25:40 +09:00
1 parent 5638266178
commit 037ee407d2
4 files changed
+16 -314

No files matched your search

+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