Rename to startAnimation for symmetry.
This commit is contained in:
@@ -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)
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user