• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JQuery - jquery-1.6.2.min.js errors out

 
Padma Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I downloaded jquery-1.6.2.min.js for my project and I have two issues.

1. It is very slow when I open it in Eclipse. The editor itself has slowed down.
2. I see an error that said

Multiple markers at this line
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Syntax error on token "Invalid Regular Expression Options", no accurate correction available
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- The left-hand side of an assignment must be a variable

I have not changed this file at all.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Padma Prasad wrote:
1. It is very slow when I open it in Eclipse. The editor itself has slowed down.

Eclipse is not the real world. Worry about performance in a real environment.

2. I see an error that said

Tens of thousands of people use jQuery successfully. Either your download has been corrupted, there are some strange character set issues at play, or eclipse is doing something weird.

What happens when you try the page in the real world?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might also try just linking to the jQuery instance hosted at a CDN for comparison. See the jQuery download page for details.

Eg.
 
Padma Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The page is rendered fine. All I was worried is why Eclipse is throwing a list of errors. But I am now ignoring all of them though it is really annoying to see the red crosses.

Thanks Bear Bibeault. Appreciate your help.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've moved this to the IDEs forum for the Eclipse-savvy to have a gander.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that these errors are showing up within an editor within Eclipse when you have a specific file open.

a) What kind of file is it (specifically, the extension)?
b) What editor was used to open the file (Eclipse has many different editors)?

Perhaps the wrong editor was used to open the file, and thus the editor is not properly interpreting the file.

As far as the slow down, I suspect that Eclipse is either automatically building or indexing your files. You could try turning off automatic builds, which might help. Also, correcting the editor association for the file that has the errors might also help because that it causing the parser and indexer to work harder.
 
Gajendra Ganiga
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Padma Prasad,
Have you found the solution to the problem of the jquery... If so please share it with me... since i am also facing the same problem(multiple markers error).


Regards,
Gajendra
 
dennieru pachvill
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must ignore the specific project in the JavaScript Validator
Go: Project->Properties->JavaScript->Include Path->Source.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic