Skip to content

Commit 4a4c7ea

Browse files
committed
1、对Zepto进行兼容
2、自定义事件命名空间custom.spa改为custom:spa 3、视图数据不允许从视图对象通过.data()获取,改为支持传递viewdata参数给视图各个回调函数 4、去掉大量$.data()存取数据的方式,改成局部变量方式,用来兼容Zepto并提高js计算速度 5、试图通过框架解决事件穿透问题,但是失败了,目前的结论还是要靠应用层自身解决
1 parent 5aa92d0 commit 4a4c7ea

15 files changed

+789
-695
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
SPA build WebApp focus on solving common problems encountered, especially for building MobileApp, unlike [jQuery Mobile](http://jquerymobile.com/), [Sencha Touch](http://www.sencha.com/products/touch/) and other frameworks, building mobile client application is not a front-end integrated solutions with SPA, so we do not include UI components, if you do not want to design their own interface, you can use the [Bootstrap](http://getbootstrap.com/), [Topcoat](http://topcoat.io/) and other UI Components frame with SPA, to quickly build your WebApp.
66

7-
SPA need to use [jQuery](http://jquery.com/) support for DOM manipulation, and each view can be [RequireJS](http://requirejs.org/), [Sea.js](http://seajs.org/docs/) other CommonJS solutions or customize the way modular organization, asynchronous loading.
7+
SPA need to use [jQuery](http://jquery.com/) or [Zepto](http://zeptojs.com/), and each view can be [RequireJS](http://requirejs.org/), [Sea.js](http://seajs.org/docs/) other CommonJS solutions or customize the way modular organization, asynchronous loading.
88

99
SPA support mobile client browser and the desktop side modern browsers.
1010

assets/js/zepto.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)