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
  • 732,580
  • 175
  • 1,330
  • 1,459
Rishi P
  • 249
  • 2
  • 9
  • 20

0 Answers0