Eclipse中禁用JS驗證
- Right click your project (右單擊工程屬性)
- Select Properties -> JavaScript -> Include(選擇JavaScript下的include菜單)
- Select Source tab (It looks similar to the Java Build Path Source tab)(選擇SOURCE標籤)
- Expand source folder(展開菜單)
- Highlight Excluded pattern(選擇Excluded)
- Click Edit button(點擊edit按鈕)
- Click Add button next to Exclusion patterns box.在新對話框中點擊add按鈕
- Click Browse button and select the JavaScript source by name.(找到需要排除的javascript文件)