1.打開 >> Myeclipse或Eclipse.(我使用的是Myeclipse)
2.打開 >> Window >> PReferences 如圖1:

圖1
3.打開 >> Preferences >> MyEclipse >> Validation >> Javascript validator for JS files(Bulid中的"√"去掉) 如圖2:

圖2
4.Apply >> ok!
*5.另一種方法:項目右鍵 >> MyEclipse >> Exclude From Validation(打"√")
新聞熱點
疑難解答