Changed, though I think it's less clear.


On 2013-09-13 17:17, Bart van den Eijnden wrote:
>
> In lib/OpenLayers/Format/WCSDescribeCoverage/v1_0_0.js:
>
> > +                description.title = this.getChildValue(node);
> > +            },
> > +            // This format is the same as that used by GetCapabilities 1.0.0,
> > +            // so we can reuse that reader
> > +            "lonLatEnvelope": function(node, description) {
> > +                OpenLayers.Format.WCSCapabilities.v1_0_0.prototype.readers.wcs.lonLatEnvelope.call(this, node, description);
> > +                var nodeList = this.getElementsByTagNameNS(node, "http://www.opengis.net/gml", "pos");
> > +            },
> > +            // Essentially the same as domain in 1.1.0
> > +            "domainSet": function(node, description) {
> > +                description.domain = {};
> > +                 this.readChildNodes(node, description.domain);
> > +            },
> > +            "spatialDomain": function(node, domain) {
> > +                domain.spatialDomain = {};
> > +                domain.spatialDomain.boundingBoxes = {};
>
> we can do this in one line:
>
> |domain.spatialDomain = {boundingBoxes: {}};
> |
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/openlayers/openlayers/pull/846/files#r6329022>.
>