摘要: 近期在读jQuery的源码。发现这里有个东西很难理解。这里的 jQuery , jQuery.fn , jQuery,fn,init ,jQuery,prototype 都代表什么。来看下jQuery的源码是怎么样定义的:(function( window, undefined ) { var jQuery = (function() { // 构建jQuery对象 var jQuery = function( selector, context ) { return new jQuery.fn.init( selector, conte... 阅读全文
posted @ 2013-04-11 16:46 梦你所梦 阅读(364) 评论(0) 推荐(0)