Skip to content

Commit

Permalink
removes console statement
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Nov 20, 2016
1 parent 86d5f6a commit 6141cfe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/textSplit.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const splitAllChars = new RegExp(`(\\${prefixChars.join("|\\")})*[${noSpaceRange
export default function(sentence) {
if (!noSpaceLanguage.test(sentence)) return stringify(sentence).match(splitWords);
return merge(stringify(sentence).match(splitWords).map(d => {
console.log(d, japaneseChars.test(d), noSpaceLanguage.test(d));
if (!japaneseChars.test(d) && noSpaceLanguage.test(d)) return d.match(splitAllChars);
return [d];
}));
Expand Down

0 comments on commit 6141cfe

Please sign in to comment.