From 8cdd7fe2b24df5d0307381955424e7ef904d1ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 21 Feb 2011 00:28:36 +0100 Subject: [PATCH] Remove unnecessary call of new Point(). --- src/basic/Point.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/basic/Point.js b/src/basic/Point.js index 6c3f8810..5cf1a07c 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -213,7 +213,6 @@ var Point = Base.extend({ }, isClose: function(point, tolerance) { - point = new Point(point); return this.getDistance(point) < tolerance; },