Rename to startAnimation for symmetry.

This commit is contained in:
Tim Schaub
2012-01-02 21:52:31 -07:00
parent c151b04257
commit e363bdb782
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ OpenLayers.Tween = OpenLayers.Class({
/**
* Property: animationId
* {int} Loop id returned by OpenLayers.Util.loopAnimation
* {int} Loop id returned by OpenLayers.Util.startAnimation
*/
animationId: null,
@@ -96,7 +96,7 @@ OpenLayers.Tween = OpenLayers.Class({
if (this.callbacks && this.callbacks.start) {
this.callbacks.start.call(this, this.begin);
}
this.animationId = OpenLayers.Util.loopAnimation(
this.animationId = OpenLayers.Util.startAnimation(
OpenLayers.Function.bind(this.play, this)
);
},