摘要: 问题描述 在jquery或zepto下,循环调用同一个jsonp for(var i = 0;i 0) abortTimeout = setTimeout(function(){ abort('timeout') }, options.timeout) ... 阅读全文
posted @ 2015-04-27 11:39 莫名  阅读(2207) 评论(2) 推荐(2) 编辑
摘要: 源码注释 // 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 莫名  阅读(3835) 评论(2) 推荐(1) 编辑
摘要: 源码注释// Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.;(function($){ /** * 序列表单内容... 阅读全文
posted @ 2015-04-09 20:14 莫名  阅读(982) 评论(0) 推荐(0) 编辑
摘要: 源码注释// 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 莫名  阅读(2312) 评论(0) 推荐(0) 编辑
摘要: 源码注释// 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 莫名  阅读(2121) 评论(2) 推荐(3) 编辑
摘要: // 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 莫名  阅读(1351) 评论(1) 推荐(0) 编辑
摘要: 源码// 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 莫名  阅读(2129) 评论(0) 推荐(0) 编辑
摘要: 构造函数 Zepto.js 是专门为智能手机浏览器推出的javascript库, 拥有与和jQuery相似的语法。 它的优点是精简,压缩后5-10K。 不支持IE MIT开源协议结构 http://zeptojs.com/(1.6.1版本)架构 自调用匿名函数/** * 整体上的自调... 阅读全文
posted @ 2015-03-26 15:16 莫名  阅读(799) 评论(1) 推荐(0) 编辑
摘要: 概述 HTML5标签加强了结构化;减少与表现(CSS)的耦合;简化了标签、属性的写法。另外为提升Web网页的性能,还推出了集成javascript、html、css的标签控件。标签介绍 删除属性列表(引自@洞庭夕照) 在HTML 4中使用的属性使用该属性的元素在HTML 5中的替代方案r... 阅读全文
posted @ 2015-03-17 18:02 莫名  阅读(244) 评论(0) 推荐(0) 编辑
摘要: 这里只谈HTML界面的微信分享。安卓和IOS均有对应的API包。HTML界面的分享,是2015元旦期间微信删掉了老的 WeixinJSBridge 方式(原因是微信无法管理它),推出了需要鉴权、并和公众号绑定的JS JDK。默认分享 特征 无需引用JDK。微信自动读取网页标题、网页第一张图... 阅读全文
posted @ 2015-03-10 17:18 莫名  阅读(5595) 评论(1) 推荐(0) 编辑