【发布时间】:2013-07-07 11:33:46
【问题描述】:
我应该如何在我的项目中包含 jquery.mobile.js 以便我可以将它与 RequireJS 一起使用。
当我在我的项目中添加 jquery.mobile.js 时,我开始收到以下错误。
未捕获的错误:不匹配的匿名 define() 模块:函数 ($) {
工厂($,根,文档);
返回 $.mobile;
}
我也关注了这篇文章。 Separating jQuery Mobile (1.1.0) from AMD (RequireJS)
【问题讨论】: