문제

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