Skip to content

Commit

Permalink
Avoiding closure compiler warnings.
Browse files Browse the repository at this point in the history
These comments are not parsed by Natural Docs and result in unnecessary warnings from closure compiler.
  • Loading branch information
tschaub committed Dec 1, 2011
1 parent 2d5a770 commit 3844b91
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lib/OpenLayers/Format/WKT.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {
extract: {
/**
* Return a space delimited string of point coordinates.
* @param {<OpenLayers.Geometry.Point>} point
* @param {OpenLayers.Geometry.Point} point
* @returns {String} A string of coordinates representing the point
*/
'point': function(point) {
Expand All @@ -160,7 +160,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {

/**
* Return a comma delimited string of point coordinates from a multipoint.
* @param {<OpenLayers.Geometry.MultiPoint>} multipoint
* @param {OpenLayers.Geometry.MultiPoint} multipoint
* @returns {String} A string of point coordinate strings representing
* the multipoint
*/
Expand All @@ -176,7 +176,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {

/**
* Return a comma delimited string of point coordinates from a line.
* @param {<OpenLayers.Geometry.LineString>} linestring
* @param {OpenLayers.Geometry.LineString} linestring
* @returns {String} A string of point coordinate strings representing
* the linestring
*/
Expand All @@ -190,7 +190,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {

/**
* Return a comma delimited string of linestring strings from a multilinestring.
* @param {<OpenLayers.Geometry.MultiLineString>} multilinestring
* @param {OpenLayers.Geometry.MultiLineString} multilinestring
* @returns {String} A string of of linestring strings representing
* the multilinestring
*/
Expand All @@ -206,7 +206,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {

/**
* Return a comma delimited string of linear ring arrays from a polygon.
* @param {<OpenLayers.Geometry.Polygon>} polygon
* @param {OpenLayers.Geometry.Polygon} polygon
* @returns {String} An array of linear ring arrays representing the polygon
*/
'polygon': function(polygon) {
Expand All @@ -221,7 +221,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {

/**
* Return an array of polygon arrays from a multipolygon.
* @param {<OpenLayers.Geometry.MultiPolygon>} multipolygon
* @param {OpenLayers.Geometry.MultiPolygon} multipolygon
* @returns {String} An array of polygon arrays representing
* the multipolygon
*/
Expand All @@ -237,7 +237,7 @@ OpenLayers.Format.WKT = OpenLayers.Class(OpenLayers.Format, {

/**
* Return the WKT portion between 'GEOMETRYCOLLECTION(' and ')' for an <OpenLayers.Geometry.Collection>
* @param {<OpenLayers.Geometry.Collection>} collection
* @param {OpenLayers.Geometry.Collection} collection
* @returns {String} internal WKT representation of the collection
*/
'collection': function(collection) {
Expand All @@ -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 {<OpenLayers.Feature.Vector>} A point feature
* @returns {OpenLayers.Feature.Vector} A point feature
* @private
*/
'point': function(str) {
Expand All @@ -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 {<OpenLayers.Feature.Vector>} A multipoint feature
* @returns {OpenLayers.Feature.Vector} A multipoint feature
* @private
*/
'multipoint': function(str) {
Expand All @@ -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 {<OpenLayers.Feature.Vector>} A linestring feature
* @returns {OpenLayers.Feature.Vector} A linestring feature
* @private
*/
'linestring': function(str) {
Expand All @@ -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 {<OpenLayers.Feature.Vector>} A multilinestring feature
* @returns {OpenLayers.Feature.Vector} A multilinestring feature
* @private
*/
'multilinestring': function(str) {
Expand All @@ -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 {<OpenLayers.Feature.Vector>} A polygon feature
* @returns {OpenLayers.Feature.Vector} A polygon feature
* @private
*/
'polygon': function(str) {
Expand All @@ -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 {<OpenLayers.Feature.Vector>} A multipolygon feature
* @returns {OpenLayers.Feature.Vector} A multipolygon feature
* @private
*/
'multipolygon': function(str) {
Expand Down

0 comments on commit 3844b91

Please sign in to comment.