Fix: remove useless codes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user