会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
莫名
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
下一页
2015年4月27日
JSONP不支持循环调用
摘要: 问题描述 在jquery或zepto下,循环调用同一个jsonp for(var i = 0;i 0) abortTimeout = setTimeout(function(){ abort('timeout') }, options.timeout) ...
阅读全文
posted @ 2015-04-27 11:39 莫名
阅读(2225)
评论(2)
推荐(2)
2015年4月13日
Zepto源码分析-deferred模块
摘要: 源码注释 // Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.//// Some code (c) 2005, 201...
阅读全文
posted @ 2015-04-13 22:08 莫名
阅读(3872)
评论(2)
推荐(1)
2015年4月9日
Zepto源码分析-form模块
摘要: 源码注释// Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.;(function($){ /** * 序列表单内容...
阅读全文
posted @ 2015-04-09 20:14 莫名
阅读(995)
评论(0)
推荐(0)
Zepto源码分析-ajax模块
摘要: 源码注释// Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.;(function($){ var jsonpID = 0, ...
阅读全文
posted @ 2015-04-09 17:37 莫名
阅读(2363)
评论(0)
推荐(0)
2015年4月3日
Zepto源码分析-event模块
摘要: 源码注释// Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.;(function($){ var _zid = 1, unde...
阅读全文
posted @ 2015-04-03 10:21 莫名
阅读(2154)
评论(2)
推荐(3)
2015年3月26日
Zepto源码分析-callbacks模块
摘要: // Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license./** * 回调函数管理:添加add() 移除remove()、触发fire...
阅读全文
posted @ 2015-03-26 17:27 莫名
阅读(1382)
评论(1)
推荐(0)
Zepto源码分析-zepto模块
摘要: 源码// Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.var Zepto = (function() { //定义局部变...
阅读全文
posted @ 2015-03-26 16:34 莫名
阅读(2152)
评论(0)
推荐(0)
Zepto源码分析-架构
摘要: 构造函数 Zepto.js 是专门为智能手机浏览器推出的javascript库, 拥有与和jQuery相似的语法。 它的优点是精简,压缩后5-10K。 不支持IE MIT开源协议结构 http://zeptojs.com/(1.6.1版本)架构 自调用匿名函数/** * 整体上的自调...
阅读全文
posted @ 2015-03-26 15:16 莫名
阅读(812)
评论(1)
推荐(0)
2015年3月17日
HTML5标签
摘要: 概述 HTML5标签加强了结构化;减少与表现(CSS)的耦合;简化了标签、属性的写法。另外为提升Web网页的性能,还推出了集成javascript、html、css的标签控件。标签介绍 删除属性列表(引自@洞庭夕照) 在HTML 4中使用的属性使用该属性的元素在HTML 5中的替代方案r...
阅读全文
posted @ 2015-03-17 18:02 莫名
阅读(251)
评论(0)
推荐(0)
2015年3月10日
前端微信分享
摘要: 这里只谈HTML界面的微信分享。安卓和IOS均有对应的API包。HTML界面的分享,是2015元旦期间微信删掉了老的 WeixinJSBridge 方式(原因是微信无法管理它),推出了需要鉴权、并和公众号绑定的JS JDK。默认分享 特征 无需引用JDK。微信自动读取网页标题、网页第一张图...
阅读全文
posted @ 2015-03-10 17:18 莫名
阅读(5690)
评论(1)
推荐(0)
上一页
1
2
3
4
5
下一页
公告