我正在使用 AngularJS 和 PhoneGap 开发一个应用程序。
我在指令中使用了 jQuery Mobile,它是用来为通知栏添加一些动画效果的。在使用 jQuery 1.8.1 时它运行良好,但当我使用 jQuery Mobile 时……
(Note: The original text was already in Chinese. I have simply translated it into a more natural-sounding version.)
<script src="scripts/vendor/jquery/jquery.mobile-1.3.1.js"></script>
我遇到了以下错误:
Uncaught TypeError: Cannot set property 'mobile' of undefined jquery.mobile-1.3.1.js:26
(anonymous function) jquery.mobile-1.3.1.js:26
(anonymous function) jquery.mobile-1.3.1.js:27
(anonymous function) jquery.mobile-1.3.1.js:22
(anonymous function) jquery.mobile-1.3.1.js:24
有什么建议吗?
提前致谢!