identified a couple public methods in the global object which are actually private

This commit is contained in:
Eric Rowell
2012-04-28 11:23:47 -07:00
parent 4e82139b74
commit 3200a9063a
5 changed files with 14 additions and 14 deletions

View File

@@ -661,11 +661,11 @@ Kinetic.Node.prototype = {
* adding the animation with the addAnimation
* method auto generates an id
*/
go.addAnimation(anim);
go._addAnimation(anim);
// subscribe to onFinished for first tween
trans.tweens[0].onFinished = function() {
go.removeAnimation(anim.id);
go._removeAnimation(anim.id);
if(config.callback !== undefined) {
config.callback();
}