[OpenLayers-Users] specifying options for OL class properties--when to use quotes?

Kristian Thy thy at 42.dk
Thu Jul 24 19:37:37 EDT 2008


On Thu, Jul 24, Christopher Schmidt wrote:
> On Thu, Jul 24, 2008 at 06:07:02PM -0500, Erik Uzureau wrote:
> > it was explained to me at some point in life that the "proper" JSON
> > notation was
> > putting quotes (single?) around the key names, ie:
> 
> "Double", but I never let that affect my Javascript. 

Single and double quotes are interchangeable (as long as they match in
pairs :-) ) in Javascript, just as in (X)HTML.

\\k
-- 
... et nemo ex vobis interrogat me: »Quo vadis?«



More information about the Users mailing list