I get errors from Eclipse v3.7 (Indigo) when using jquery-ui-1.8.19.custom.min.js. It seems that the script is working properly, and I do not get any errors from the browsers.
I created a custom jQuery UI theme and downloaded it from jQuery site, but I get three main errors when I put the script into a Maven project in Eclipse.
Cannot return from outside a function or method
Syntax error on token "Invalid Regular Expression Options", no accurate correction available
Syntax error, insert ")" to complete Arguments
And dozens of missing semicolon warnings…
How can I fix this?
There is this bug report. Comment 15 has a suggested workaround for getting the validator to ignore certain files, and it might be worth trying.