Some of the things it complains about are silly. Others will come back to help you later (semicolons after everything are a great help to automated minimizers, for example); play with it a bit and learn what's safe to ignore.
I can understand it complaining about braces and semi-colons. But it also complains about things like assigning to variable declarations, and for some reason it didn't like multiple clauses in if statements.
Then, too, the optimization wasn't purely for code-size; I was trying to make the code efficient as far as I understand Javascript execution. I certainly don't claim to be a great Javascript programmer, either, in case I mistakenly gave that impression.
Wade.
Is it enough to love Is it enough to breathe Somebody rip my heart out And leave me here to bleed
Is it enough to die Somebody save my life I'd rather be Anything but Ordinary Please
-- "Anything but Ordinary" by Avril Lavigne.
· my · · [link|http://staticsan.livejournal.com/|blog] · · [link|http://yceran.org/|website] ·