From 8ba0c3f87df65b757c4039fa6f4b17e227fa66f8 Mon Sep 17 00:00:00 2001 From: Simo Moujami Date: Wed, 10 Dec 2014 19:38:39 -0500 Subject: [PATCH] Additional formatting --- lib/geo.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/geo.js b/lib/geo.js index d9c0ab26..af7f5d19 100644 --- a/lib/geo.js +++ b/lib/geo.js @@ -121,7 +121,6 @@ function GeoPoint(data) { assert(typeof data === 'object' || typeof data === 'string', 'must provide valid geo-coordinates array [lat, lng] or object or a "lat, lng" string'); - if (typeof data === 'string') { data = data.split(/,\s*/); assert(data.length === 2, 'must provide a string "lat,lng" creating a GeoPoint with a string'); @@ -216,7 +215,6 @@ GeoPoint.prototype.toString = function () { }; /** - * @property {Number} PI - Ratio of a circle's circumference to its diameter. * @property {Number} DEG2RAD - Factor to convert degrees to radians. * @property {Number} RAD2DEG - Factor to convert radians to degrees. * @property {Object} EARTH_RADIUS - Radius of the earth.