mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
linting
This commit is contained in:
parent
8063776831
commit
5af549bb0e
1 changed files with 4 additions and 4 deletions
|
@ -60,10 +60,10 @@ define(["Tone/core/Tone", "Tone/core/Buffer", "Tone/effect/Effect"], function(To
|
|||
* @name buffer
|
||||
*/
|
||||
Object.defineProperty(Tone.Convolver.prototype, "buffer", {
|
||||
get : function(){
|
||||
"get" : function(){
|
||||
return this._buffer.get();
|
||||
},
|
||||
set : function(buffer){
|
||||
"set" : function(buffer){
|
||||
this._buffer.set(buffer);
|
||||
this._convolver.buffer = this._buffer.get();
|
||||
}
|
||||
|
@ -94,10 +94,10 @@ define(["Tone/core/Tone", "Tone/core/Buffer", "Tone/effect/Effect"], function(To
|
|||
*/
|
||||
Tone.Convolver.prototype.dispose = function(){
|
||||
Tone.Effect.prototype.dispose.call(this);
|
||||
this._convolver.disconnect();
|
||||
this._convolver = null;
|
||||
this._buffer.dispose();
|
||||
this._buffer = null;
|
||||
this._convolver.disconnect();
|
||||
this._convolver = null;
|
||||
return this;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue