mirror of
https://github.com/konvajs/konva.git
synced 2025-12-04 19:08:24 +08:00
identified a couple public methods in the global object which are actually private
This commit is contained in:
@@ -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();
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user