当引入js时,js代码的开头出现红叉,解决方法:
myeclipse中:出现
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Syntax error on token "}", delete this token
虽然不影响程序的运行,但是看着难受。
选中js文件,右键Myeclipse--ManaValidation--ExcludeResource--(选中全部或者那个js)--OK