mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
fixing error in comment
[skip ci]
This commit is contained in:
parent
dc4acf15c2
commit
2aacd45a0b
1 changed files with 3 additions and 2 deletions
|
@ -40,16 +40,17 @@ define(["Tone/core/Tone", "Tone/core/Timeline", "Tone/type/Type"], function (Ton
|
|||
};
|
||||
|
||||
/**
|
||||
* Returns the scheduled state scheduled before or at
|
||||
* the given time.
|
||||
* Add a state to the timeline.
|
||||
* @param {String} state The name of the state to set.
|
||||
* @param {Number} time The time to query.
|
||||
* @returns {Tone.TimelineState} this
|
||||
*/
|
||||
Tone.TimelineState.prototype.setStateAtTime = function(state, time){
|
||||
this.add({
|
||||
"state" : state,
|
||||
"time" : time
|
||||
});
|
||||
return this;
|
||||
};
|
||||
|
||||
return Tone.TimelineState;
|
||||
|
|
Loading…
Reference in a new issue