摘要:        
// Zepto.js // (c) 2010-2016 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. var Zepto = (function() { var undefined, key, $, classList, emptyArray = [], conc...    阅读全文
posted @ 2016-08-01 15:43
天才老王1993
阅读(218)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在浏览器上(Safari、Chrome和Firefox)上开发页面应用或者构建基于html的web-view本地应用,你如PhoneGap,使用Zepto是一个不错的选择。 Jquery和Zepto的区别 由于我原先并没有用过Zepto,所以首先试了一下Jquery和Zepto的区别 1:$(fun    阅读全文
posted @ 2016-08-01 10:44
天才老王1993
阅读(231)
评论(0)
推荐(0)
        
            
        
        
摘要:        
常看到一些大牛的JS源码 在function 前面加; ;function($,undefined) 是什么用处 ? ;(function($){$.extend($.fn... 在前面加分号可以有多种用途: 1、防止多文件集成成一个文件后,高压缩出现语法错误。 2、这是一个匿名函数,一般js库都采    阅读全文
posted @ 2016-08-01 09:56
天才老王1993
阅读(251)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号