Skip to content

Commit 05f45f7

Browse files
Removal of unfriendly language and clarification
1 parent 96d09d0 commit 05f45f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/p5.speech.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
if(_dv !== undefined) this.initvoice=_dv;
7777
if(_callback !== undefined) this.onLoad =_callback;
7878

79-
var that = this; // some bullshit
79+
var that = this; // aliasing 'this' into a fixed variable
8080

8181
// onvoiceschanged() fires automatically when the synthesizer
8282
// is configured and has its voices loaded. you don't need
@@ -304,7 +304,7 @@
304304
// out potentially bogus recognition tokens.
305305
this.resultConfidence;
306306

307-
var that = this; // some bullshit
307+
var that = this; // aliasing 'this' into a fixed variable
308308

309309
// onresult() fires automatically when the recognition engine
310310
// detects speech, or times out trying.

0 commit comments

Comments
 (0)