app-framework学习-----使用jquery



我们可以使用jquery  和 afui开发,而不需要使用appframework.js(经过测试完全可行)

只需在<scriptsrc="af.ui.jquery(.min).js"></script>之前引入jquery文件即可

下面是官方说明:

Use jQuery* and App Framework UI

With App Framework 2.1, you can now use jQuery and App Framework UI, instead of using appframework.js. We have created a jQuery* plugin called jq.appframework.js. Now you do not have to worry about conflicts with jQuery* plugins and App Framework. 

Using the plugin

To use the plugin, include jQuery* first, then the compiled App Framework files for jQuery* found in the build folder
1
2
<scriptsrc="jquery.js"></script>
<scriptsrc="af.ui.jquery(.min).js"></script>
You can find this plugin in github here and at plugins.jquery.com

jq.appframework.js下载地址:http://download.csdn.net/detail/haozq2012/7693813
欢迎加入学习交流群:333492644




posted @ 2014-07-22 14:42  木尘-MCDNF  阅读(178)  评论(0编辑  收藏  举报