On 11/11/06, Sam Foster <[EMAIL PROTECTED]> wrote:
>
> ... and in case you didnt spot it yet, the error is the last comma after
> "Click to edit". FF is lenient about allowing a trailing comma, IE is
> not. This is what jslint is for - to catch the silly stuff.

You can also set javascript.options.strict to true in Firefox, and it
will warn you
"trailing comma is not legal in ECMA-262 object initializers". Very
useful once you cleaned up Prototype to be warning-free so you don't
miss the warnings on your own code.

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to