Make defaults match JSDocs

This commit is contained in:
Richard Davey 2020-09-17 18:06:59 +01:00
parent 6ce58ed73b
commit 8af35be8f1

View file

@ -1037,6 +1037,9 @@ var SpineGameObject = new Class({
*/
addAnimation: function (trackIndex, animationName, loop, delay)
{
if (loop === undefined) { loop = false; }
if (delay === undefined) { delay = 0; }
return this.state.addAnimation(trackIndex, animationName, loop, delay);
},