Remove unnecessary call of new Point().

This commit is contained in:
Jürg Lehni 2011-02-21 00:28:36 +01:00
parent dc410b6894
commit 8cdd7fe2b2

View file

@ -213,7 +213,6 @@ var Point = Base.extend({
}, },
isClose: function(point, tolerance) { isClose: function(point, tolerance) {
point = new Point(point);
return this.getDistance(point) < tolerance; return this.getDistance(point) < tolerance;
}, },