Skip to content

Commit 7d88f7d

Browse files
committed
cleanup(nui): remove some pointless prints
1 parent 2d711f1 commit 7d88f7d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dependencies/nui/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@
6969
return speak(data.text)
7070
case "toggle_speak":
7171
ttsEnabled = data.enabled
72-
console.log("toggled:"+data.rate)
7372
ttsRate = parseFloat(data.rate)
7473
case "speak_rate":
75-
console.log("set speak rate:"+data.rate)
7674
ttsRate = parseFloat(data.rate)
7775
default:
7876
return;
@@ -89,10 +87,8 @@
8987
currentUtterance.cancel()
9088
currentUtterance=undefined
9189
}
92-
console.log("speaking "+text)
9390
speaking = new SpeechSynthesisUtterance(strip(text.toString()));
9491
currentUtterance=window.speechSynthesis
95-
console.log(ttsRate)
9692
speaking.rate = ttsRate;
9793

9894
window.speechSynthesis.speak(speaking);

0 commit comments

Comments
 (0)