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

Mapbender info at osgeo.org
Tue Oct 16 07:28:57 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 marcjansen):

 I've got some questions:

  1. What is meant by !["..."]-syntax vs. dot-syntax?[[BR]]
  {{{anyObject.newProperty = "new value";}}} [[BR]]
  instead of[[BR]]
  {{{anyObject["newProperty"] = "new value"}}} [[BR]][[BR]]
  2. Which toJSONString is meant?[[BR]]
  {{{anyObject.toJSONString();}}}[[BR]]
  or the (at least planned)[[BR]]
  {{{toJSONString(anyObject);}}}

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


More information about the Mapbender_dev mailing list