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

@@ -86,7 +86,7 @@ Kinetic.Stage.prototype = {
*/
start: function() {
var go = Kinetic.GlobalObject;
go.addAnimation(this.anim);
go._addAnimation(this.anim);
go._handleAnimation();
},
/**
@@ -94,7 +94,7 @@ Kinetic.Stage.prototype = {
*/
stop: function() {
var go = Kinetic.GlobalObject;
go.removeAnimation(this.anim.id);
go._removeAnimation(this.anim.id);
go._handleAnimation();
},
/**