提交 cef285c9 编写于 作者: V vincent courtalon

replacing != with !== in connect and disconnect

上级 bc80d200
...@@ -135,7 +135,7 @@ THREE.Audio.prototype.stop = function () { ...@@ -135,7 +135,7 @@ THREE.Audio.prototype.stop = function () {
THREE.Audio.prototype.connect = function () { THREE.Audio.prototype.connect = function () {
if ( this.filter != null ) { if ( this.filter !== null ) {
this.source.connect( this.filter ); this.source.connect( this.filter );
this.filter.connect( this.getOutput()); this.filter.connect( this.getOutput());
...@@ -150,7 +150,7 @@ THREE.Audio.prototype.connect = function () { ...@@ -150,7 +150,7 @@ THREE.Audio.prototype.connect = function () {
THREE.Audio.prototype.disconnect = function () { THREE.Audio.prototype.disconnect = function () {
if ( this.filter != null ) { if ( this.filter !== null ) {
this.source.disconnect( this.filter ); this.source.disconnect( this.filter );
this.filter.disconnect( this.getOutput()); this.filter.disconnect( this.getOutput());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册