0

I am using jquery-1.11.1.min.js in my Eclipse project and it's showing me a validation error.

The error message is:

The left-hand side of an assignment must be a variable

It shows the error at this line:

"undefined"!=typeof window?window:this

It doesn't give me any issues in the web application, everything works fine. It's just annoying to look in Eclipse. I have tried disabling validation on js files and even tried suspending all validations for the project. Doesn't help.

Any clues?

Note: The error is on the jquery-1.11.1.min.js file itself that I downloaded from the jQuery site. It's not in my custom script.

marc_s
  • 704,970
  • 168
  • 1,303
  • 1,425
Rishi P
  • 229
  • 1
  • 9
  • 20

0 Answers0