Skip to content

Commit

Permalink
1、对Zepto进行兼容
Browse files Browse the repository at this point in the history
2、自定义事件命名空间custom.spa改为custom:spa
3、视图数据不允许从视图对象通过.data()获取,改为支持传递viewdata参数给视图各个回调函数
4、去掉大量$.data()存取数据的方式,改成局部变量方式,用来兼容Zepto并提高js计算速度
5、试图通过框架解决事件穿透问题,但是失败了,目前的结论还是要靠应用层自身解决
  • Loading branch information
zhaoda committed Dec 1, 2013
1 parent 5aa92d0 commit 4a4c7ea
Show file tree
Hide file tree
Showing 15 changed files with 789 additions and 695 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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.

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.
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.

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

Expand Down
2 changes: 2 additions & 0 deletions assets/js/zepto.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 4a4c7ea

Please sign in to comment.