【发布时间】:2013-04-22 01:33:01
【问题描述】:
我在我的项目中使用 RequireJS AMD。当我在我的项目上运行 jshint 时,它会抛出类似的错误
在 AMD 脚本中
'define' is not defined.
在 Mocha 测试用例中
'describe' is not defined.
'it' is not defined.
如何在 jshint 中移除这个警告?
【问题讨论】:
标签: javascript requirejs amd jshint