getting partials (correctly) for other Oscillator types

This commit is contained in:
Yotam Mann 2015-11-23 23:51:36 -05:00
parent 093d2e3a36
commit fe5d6ac94e
3 changed files with 3 additions and 3 deletions

View file

@ -144,7 +144,7 @@ function(Tone){
* following the harmonic series.
* Setting this value will automatically set the type to "custom".
* The value is an empty array when the type is not "custom".
* @memberOf Tone.Oscillator#
* @memberOf Tone.OmniOscillator#
* @type {Array}
* @name partials
* @example

View file

@ -132,7 +132,7 @@ function(Tone){
* @name partials
* @private
*/
Object.defineProperty(Tone.OmniOscillator.prototype, "partials", {
Object.defineProperty(Tone.PWMOscillator.prototype, "partials", {
get : function(){
return [];
}

View file

@ -155,7 +155,7 @@ function(Tone){
* @name partials
* @private
*/
Object.defineProperty(Tone.OmniOscillator.prototype, "partials", {
Object.defineProperty(Tone.PulseOscillator.prototype, "partials", {
get : function(){
return [];
}