From 3844b91cd63d7363c6e96dc27cf312b47089470c Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 30 Nov 2011 22:25:38 -0800 Subject: [PATCH] Avoiding closure compiler warnings. These comments are not parsed by Natural Docs and result in unnecessary warnings from closure compiler. --- lib/OpenLayers/Format/WKT.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/OpenLayers/Format/WKT.js b/lib/OpenLayers/Format/WKT.js index f9fe75c603..8c666548ed 100644 --- a/lib/OpenLayers/Format/WKT.js +++ b/lib/OpenLayers/Format/WKT.js @@ -151,7 +151,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { extract: { /** * Return a space delimited string of point coordinates. - * @param {} point + * @param {OpenLayers.Geometry.Point} point * @returns {String} A string of coordinates representing the point */ 'point': function(point) { @@ -160,7 +160,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a comma delimited string of point coordinates from a multipoint. - * @param {} multipoint + * @param {OpenLayers.Geometry.MultiPoint} multipoint * @returns {String} A string of point coordinate strings representing * the multipoint */ @@ -176,7 +176,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a comma delimited string of point coordinates from a line. - * @param {} linestring + * @param {OpenLayers.Geometry.LineString} linestring * @returns {String} A string of point coordinate strings representing * the linestring */ @@ -190,7 +190,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a comma delimited string of linestring strings from a multilinestring. - * @param {} multilinestring + * @param {OpenLayers.Geometry.MultiLineString} multilinestring * @returns {String} A string of of linestring strings representing * the multilinestring */ @@ -206,7 +206,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a comma delimited string of linear ring arrays from a polygon. - * @param {} polygon + * @param {OpenLayers.Geometry.Polygon} polygon * @returns {String} An array of linear ring arrays representing the polygon */ 'polygon': function(polygon) { @@ -221,7 +221,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return an array of polygon arrays from a multipolygon. - * @param {} multipolygon + * @param {OpenLayers.Geometry.MultiPolygon} multipolygon * @returns {String} An array of polygon arrays representing * the multipolygon */ @@ -237,7 +237,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return the WKT portion between 'GEOMETRYCOLLECTION(' and ')' for an - * @param {} collection + * @param {OpenLayers.Geometry.Collection} collection * @returns {String} internal WKT representation of the collection */ 'collection': function(collection) { @@ -258,7 +258,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return point feature given a point WKT fragment. * @param {String} str A WKT fragment representing the point - * @returns {} A point feature + * @returns {OpenLayers.Feature.Vector} A point feature * @private */ 'point': function(str) { @@ -271,7 +271,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a multipoint feature given a multipoint WKT fragment. * @param {String} A WKT fragment representing the multipoint - * @returns {} A multipoint feature + * @returns {OpenLayers.Feature.Vector} A multipoint feature * @private */ 'multipoint': function(str) { @@ -290,7 +290,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a linestring feature given a linestring WKT fragment. * @param {String} A WKT fragment representing the linestring - * @returns {} A linestring feature + * @returns {OpenLayers.Feature.Vector} A linestring feature * @private */ 'linestring': function(str) { @@ -307,7 +307,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a multilinestring feature given a multilinestring WKT fragment. * @param {String} A WKT fragment representing the multilinestring - * @returns {} A multilinestring feature + * @returns {OpenLayers.Feature.Vector} A multilinestring feature * @private */ 'multilinestring': function(str) { @@ -326,7 +326,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a polygon feature given a polygon WKT fragment. * @param {String} A WKT fragment representing the polygon - * @returns {} A polygon feature + * @returns {OpenLayers.Feature.Vector} A polygon feature * @private */ 'polygon': function(str) { @@ -347,7 +347,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, { /** * Return a multipolygon feature given a multipolygon WKT fragment. * @param {String} A WKT fragment representing the multipolygon - * @returns {} A multipolygon feature + * @returns {OpenLayers.Feature.Vector} A multipolygon feature * @private */ 'multipolygon': function(str) {