Hi,

Yes, in "whitespace only" mode the Closure compiler also deletes any
semicolons that will be inserted by (the horror that is) automatic
semicolon insertion[1]. Eclipse should have an option to disable the
warning if the semicolon would be added by ASI. I would leave it
enabled, though, so you don't rely on ASI in your own code.

[1] http://es5.github.com/#x7.9
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com

On Jul 28, 9:49 pm, kstubs <[email protected]> wrote:
> Thanks.  I started out reporting an issue on a semi-colon, but thought this
> was more of an obvious problem (that isn't a problem).
> So the semi-colon issue is still there, and I think I can resolve them, but
> seems they occur after things like:
>
> Here's an example from event.js
>
> function(value) { object[method] = value };
>
> Missing semi after value.
>
> Turns out that the additional semi-colon issues I am seeing with prototype
> 1-7 is a problem after running through Google's compiler.  I only strip
> white space, but seems that Google compiler is also removing semi-colons...

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to