code cleanup

This commit is contained in:
Eric Rowell
2012-03-21 00:52:45 -07:00
parent 8aa5fcf560
commit d10721d85a
6 changed files with 29 additions and 27 deletions

View File

@@ -73,17 +73,6 @@ Kinetic.Layer.prototype = {
if(this.visible) {
this._drawChildren();
}
},
/**
* clear transition if one is running
*/
_clearTransition: function(node) {
for(var n = 0; n < this.transitions.length; n++) {
var transition = this.transitions[n];
if(transition.node.id === node.id) {
Kinetic.GlobalObject._removeTransition(transition);
}
}
}
};
// Extend Container and Node