[Mapbender-dev] Re: [Mapbender] #120: replace ["..."] with dot notation in JS

Mapbender info at osgeo.org
Tue Oct 16 07:34:19 EDT 2007


#120: replace ["..."] with dot notation in JS
--------------------------+-------------------------------------------------
  Reporter:  christoph    |       Owner:  mapbender_dev at lists.osgeo.org
      Type:  refactoring  |      Status:  new                          
  Priority:  major        |   Milestone:  2.5 release                  
 Component:  core         |     Version:                               
Resolution:               |    Keywords:                               
--------------------------+-------------------------------------------------
Comment (by christoph):

 1. correct. I tried converting the map object to JSON via toJSONString(),
 and the entries for the arrays created with the bracket syntax were
 omitted. I had to use the dot syntax. Now I realize why JSLint always
 complains about the bracket syntax.

 2. I mean the anyObject.toJSONString from json.js, which itself is from
 www.json.org

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/120#comment:2>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list