摘要: 这一部分,我们主要来研究前100行的基础变量的意义以及JQ的入口函数。 19-21行: var document = window.document,navigator = window.navigator,location = window.location; 这部分的目的就在于,我们在使用document、navigator、location的时候,不用再从新通过window对象查找,而是直接利用本地化的变量去获取,从而提高库的性能。 22行-950行:var jQuery = (function( selector, context ) {… return ... 阅读全文
posted @ 2011-12-28 15:38 Krouky 阅读(1766) 评论(0) 推荐(0) 编辑