Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
193
rated 0 times [  194] [ 1]  / answers: 1 / hits: 21801  / 12 Years ago, wed, may 2, 2012, 12:00:00

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?


More From » jquery

 Answers
5

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.


[#85854] Monday, April 30, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
madelyn

Total Points: 449
Total Questions: 100
Total Answers: 100

Location: Seychelles
Member since Fri, May 7, 2021
3 Years ago
madelyn questions
Wed, Jul 28, 21, 00:00, 3 Years ago
Wed, Jul 14, 21, 00:00, 3 Years ago
Sat, Nov 7, 20, 00:00, 4 Years ago
Thu, Sep 3, 20, 00:00, 4 Years ago
;