2011年12月29日
摘要: 偶尔抽空看看jQuery1.6的源码,却一直在看里面的一些方法,却没有对jQuery清晰的认识,刚好又时间又重新从头来看看。jQuery1.6将近9000行的代码,看看都头晕,把代码简化成这样看就清晰多了:(function( window, undefined ) {var jQuery = (function() { var jQuery = function( selector, context ) { return new jQuery.fn.init( selector, context, rootjQuery ); }; jQuery.fn = jQuery.protot... 阅读全文
posted @ 2011-12-29 10:51 不知道用什么名字 阅读(1110) 评论(0) 推荐(0) 编辑