What's wrong with inserting semicolons when you're concatenating the files as part of the build process? This way, you don't have to manually uglify your code, and things will Just Work™.

I'm fairly sure that most decent JavaScript minifiers (YUI, Closure, etc.) are smart enough to handle these cases without errors; assuming, of course, that each file at least ends with a new line!

--
Barry van Oudtshoorn
www.barryvan.com.au

Not sent from my Apple πPhone.

Reply via email to