Home  >  Article  >  Web Front-end  >  Solution to the problem of error reporting in jquery library or JS file under eclipse_jquery

Solution to the problem of error reporting in jquery library or JS file under eclipse_jquery

WBOY
WBOYOriginal
2016-05-16 16:51:541230browse

After importing jquery-1.7.1 into the project, there is always a red cross. Although it does not affect the program function, it looks very uncomfortable. Moreover, there is a prompt when submitting the project code to the SVN server. I am determined to remove this red cross. Get rid of it. I basically couldn't solve the problem after searching online, and after trying various methods, I found that the following method works:

1 Right-click the project and select property.

2 Select Validation in the pop-up interface

3 Click on the Settings of JavaScript Syntax Validator on the right

4 Click Add Exclude Group in the pop-up window

5 Add the jquery js file in the Exclude Group and click OK

6 Right-click the project and click Validate

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn