Вопрос

I've downloaded the lastest jquery file from the jquery website and I've installed the file into my php project. I'm currently using Netbeans IDE 8.0 and jquery-2.1.1.min.js

When I open the jquery file to view its contents it returns numerous errors.

Main Errors:

expected semicolon; after ")" expected "===" and instead saw "==" expected a conditional expression and instead saw an assignment expected semicolon; after "b" expected semicolon; after "c"

Netbeans or JQuery issue? Any help would be appreciated. Thanks!

Это было полезно?

Решение

These are just linting errors. The script will work fine, but Netbeans is just recommending you make those changes to make it more readable, which you don't need as it is a minified file. Basically don't worry about it.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top