We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d09d0 commit 05f45f7Copy full SHA for 05f45f7
lib/p5.speech.js
@@ -76,7 +76,7 @@
76
if(_dv !== undefined) this.initvoice=_dv;
77
if(_callback !== undefined) this.onLoad =_callback;
78
79
- var that = this; // some bullshit
+ var that = this; // aliasing 'this' into a fixed variable
80
81
// onvoiceschanged() fires automatically when the synthesizer
82
// is configured and has its voices loaded. you don't need
@@ -304,7 +304,7 @@
304
// out potentially bogus recognition tokens.
305
this.resultConfidence;
306
307
308
309
// onresult() fires automatically when the recognition engine
310
// detects speech, or times out trying.
0 commit comments