jquery Source Architecture

Source: Internet
Author: User

Content is based on the jQuery2.0.3 source code architecture to parse, interested in small partners can add friends to communicate!

(function () {

line--(21 , 94) 定义了一些变量和函数 jQuery = function(){};line--(96 , 283) 给JQ对象,添加一些方法和属性line--(285 , 347) extend : JQ的继承方法line--(349 , 817) jQuery.extend() : 扩展一些工具方法line--(877 , 2856)  Sizzle : 复杂选择器的实现 line--(2880 , 3042) Callbacks : 回调对象 : 对函数的统一管理line--(3043 , 3183) Deferred : 延迟对象 : 对异步的统一管理line--(3184 , 3295) support : 功能检测line--(3308 , 3652) data() : 数据缓存line--(3653 , 3797) queue() : 队列方法 : 执行顺序的管理 line--(3803 , 4299) attr() prop() val() addClass()等 : 对元素属性的操作line--(4300 , 5128) on() trigger() : 事件操作的相关方法line--(5140 , 6057) DOM操作 : 添加 删除 获取 包装 DOM筛选line--(6058 , 6620) css() : 样式的操作line--(6621 , 7854) 提交的数据和ajax() : ajax() load() getJSON()line--(7855 , 8584) animate() : 运动的方法line--(8585 , 8792) offset() : 位置和尺寸的方法line--(8804 , 8821) JQ支持模块化的模式line--(8826)  window.jQuery = window.$ = jQuery;

})();

jquery Source Architecture

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.