Skip to content

Commit

Permalink
console.log debug statement commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
micz committed Sep 23, 2024
1 parent 58215e1 commit debe655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/tb115_segmenter/tb115_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ console.log("[ThunderAI] Intl.Segmenter: " + Intl.Segmenter);

(function() {
if('Segmenter' in Intl){
console.log('[ThunderAI] TB128+ detected. Intl.Segmenter is already supported.');
// console.log('[ThunderAI] TB128+ detected. Intl.Segmenter is already supported.');
return;
}
// Creates a <script> element to inject polyfill.js into the page context
Expand Down
7 changes: 4 additions & 3 deletions js/tb115_segmenter/tb115_polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
}

Intl.Segmenter = Segmenter;
console.log('Intl.Segmenter polyfill correctly loaded.');
} else {
console.log('Intl.Segmenter is already supported.');
// console.log('Intl.Segmenter polyfill correctly loaded.');
}
// else {
// console.log('Intl.Segmenter is already supported.');
// }
})();

0 comments on commit debe655

Please sign in to comment.