Community
Participate
Working Groups
Build Identifier: helios for java ee Out of curiosity of how Helios Javascript validator parses, I have open different versions (1.3.2 and 1.4.1) of jquery source code files in Helios. The javascript validator shows errors in the js editor error ruler (on the right side). Nothing is indicated in the Problems view though. This is not about jquery content assist; i'd just like, if possible, to not see errors in these files. Maybe they are not indeed correct? (not respecting the JS grammar). Thank you very much. Reproducible: Always Steps to Reproduce: 1. just paste jquery-1.3.2.js and jquery-1.4.1.js javascript source code files in the web content of a static web project 2. errors are indicated for this source code. 3.
Created attachment 173425 [details] jquery source files in Helios
Created attachment 173426 [details] jquery-1.3.2.js
Created attachment 173427 [details] jquery-1.4.1.js
*** This bug has been marked as a duplicate of bug 298577 ***
(In reply to comment #4) > *** This bug has been marked as a duplicate of bug 298577 *** It's not just the use of "undefined" as a variable name. There are other errors that JSDT marks for jquery-1.3.2.js and jquery-1.4.1.js. For example, for 1.4.1, on these lines: ********************************************************* while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) { ... } ********************************************************* it says "Synthaw error on token ',', . expected" Pls open jquery-1.4.1.js and take a look. For example, for 1.3.2, on these lines: ********************************************************* window = this, ********************************************************* it says "Synthaw error on token ',', ; expected" Pls open jquery-1.3.2.js and take a look. I attached another example of error.
Created attachment 173744 [details] an example error