File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes JQuery - jquery-1.6.2.min.js errors out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JQuery - jquery-1.6.2.min.js errors out" Watch "JQuery - jquery-1.6.2.min.js errors out" New topic
Author

JQuery - jquery-1.6.2.min.js errors out

Padma Prasad
Ranch Hand

Joined: Sep 16, 2002
Posts: 76
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

Joined: Jan 10, 2002
Posts: 61315
    
  66

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?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

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

Joined: Sep 16, 2002
Posts: 76
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

Joined: Jan 10, 2002
Posts: 61315
    
  66

I've moved this to the IDEs forum for the Eclipse-savvy to have a gander.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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.


JBoss In Action
Gajendra Ganiga
Greenhorn

Joined: Aug 21, 2012
Posts: 1
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

Joined: Nov 09, 2012
Posts: 1
You must ignore the specific project in the JavaScript Validator
Go: Project->Properties->JavaScript->Include Path->Source.
 
GeeCON Prague 2014
 
subject: JQuery - jquery-1.6.2.min.js errors out