Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.8.1.RELEASE
-
None
-
None
-
OSX 10.7.3
Description
When adding two "minimized" jQuery files to my application (under /resources/js), they both appear to have compile errors. The production source code version of these files (not the minimized version) does not display the compile errors; both versions were downloaded from the jQuery site. I have two other editors, neither of which displays a compile problem for the minimized versions.
I suspect it's an issue with long lines not being validated correctly.
I've attached the 2 minimized files. Here are the error markers being reported:
Description Resource Path Location Type
Syntax error on token "Invalid Regular Expression Options", no accurate correction available jquery-1.7.1.min.js /OAC-ui/src/main/webapp/resources/js line 4 JavaScript Problem
Syntax error on token "Invalid Regular Expression Options", no accurate correction available jquery-ui-1.8.18.custom.min.js /OAC-ui/src/main/webapp/resources/js line 169 JavaScript Problem
Syntax error, insert ")" to complete Arguments jquery-1.7.1.min.js /OAC-ui/src/main/webapp/resources/js line 1 JavaScript Problem
Syntax error, insert "}" to complete ObjectLiteral jquery-1.7.1.min.js /OAC-ui/src/main/webapp/resources/js line 1 JavaScript Problem
And - not sure whether this is considered a Major or Minor issue.