mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
removing unused lines
This commit is contained in:
parent
c93a16dfe2
commit
5b20f572a3
1 changed files with 0 additions and 2 deletions
|
@ -195,8 +195,6 @@ define(["Tone/core/Tone", "Tone/source/Source", "Tone/source/Oscillator",
|
||||||
set : function(count){
|
set : function(count){
|
||||||
count = Math.max(count, 1);
|
count = Math.max(count, 1);
|
||||||
if (this._oscillators.length !== count){
|
if (this._oscillators.length !== count){
|
||||||
// var partials = this.partials;
|
|
||||||
// var type = this.type;
|
|
||||||
//dispose the previous oscillators
|
//dispose the previous oscillators
|
||||||
this._forEach(function(osc){
|
this._forEach(function(osc){
|
||||||
osc.dispose();
|
osc.dispose();
|
||||||
|
|
Loading…
Reference in a new issue