【发布时间】:2014-04-22 20:37:15
【问题描述】:
我正在使用 JayData 来存储数据。
要使用 JayData,我需要 jquery。
当我放入 jquery.js 时,我的 ionic.bundle.js 不起作用。
我将 IONIC 与 phoneGap 和 AngularJS 一起使用
【问题讨论】:
我正在使用 JayData 来存储数据。
要使用 JayData,我需要 jquery。
当我放入 jquery.js 时,我的 ionic.bundle.js 不起作用。
我将 IONIC 与 phoneGap 和 AngularJS 一起使用
【问题讨论】:
您可以通过使用回调函数或使用 q.js 处理结果来使用 JayData 而不使用 jquery。
【讨论】:
你可以试试,
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="http://include.jaydata.org/jaydata.js"></script>
【讨论】: