I agree that some code is not always written like that - but I've had many
instances where a javascript block would work in modern standards compliant
browsers yet fail silently in IE until I put quotes in, single or double.

Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com



On Thu, Aug 9, 2012 at 2:34 AM, Victor <vkhomyac...@gmail.com> wrote:

> Internet explorer doesn't like object definitions without quotes around
>> the names
>>
>
> Hmm... example from Prototype 1.7 sources:
>
>   Object.extend(methods, {
>     getStorage: getStorage,
>     store:      store,
>     retrieve:   retrieve
>   });
>
> Quotes are required for properties matching reserved words (class etc.) or
> containing characters forbidden in identifiers (spaces, colons etc.), and
> browser name/version doesn't matter.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/prototype-scriptaculous/-/VRlsqLkyyzMJ.
>
> To post to this group, send email to
> prototype-scriptaculous@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to