was in the original ol2 code - I'll verify tomorrow if this is really needed or not

Sent from my iPhone

On May 16, 2013, at 9:49 PM, Tom Payne <notifications@github.com> wrote:

> In src/ol/parser/wkt.js:
> 
> > +    spaces: /\s+/,
> > +    parenComma: /\)\s*,\s*\(/,
> > +    doubleParenComma: /\)\s*\)\s*,\s*\(\s*\(/,
> > +    trimParens: /^\s*\(?(.*?)\)?\s*$/
> > +  };
> > +};
> > +goog.inherits(ol.parser.WKT, ol.parser.Parser);
> > +
> > +
> > +/**
> > + * @param {string} str WKT point.
> > + * @return {ol.geom.Point} Parsed point.
> > + * @private
> > + */
> > +ol.parser.WKT.prototype.parsePoint_ = function(str) {
> > +  var coords = goog.string.trim(str).split(this.regExes.spaces);
> Is goog.string.trim really needed here?
> 
> —
> Reply to this email directly or view it on GitHub.