Remove x,y params from ol.Kinetic.begin

This commit is contained in:
Frederic Junod
2013-02-18 16:27:09 +01:00
parent a455473a28
commit e4a5744e06
2 changed files with 4 additions and 5 deletions

View File

@@ -63,14 +63,12 @@ ol.Kinetic = function(decay, minVelocity, delay) {
/**
* @param {number} x X.
* @param {number} y Y.
* FIXME empty description for jsdoc
*/
ol.Kinetic.prototype.begin = function(x, y) {
ol.Kinetic.prototype.begin = function() {
this.points_.length = 0;
this.angle_ = 0;
this.initialVelocity_ = 0;
this.update(x, y);
};