Recently I've been looking at jquery source, (Code analysis, document analysis, video analysis) and then I'll summarize it. The following is the source code analysis for the JQuery-2.0.3 version:
Jquery-2.0.3.js Download One, JQ overall code (update ...)
1. JQuery: The overall architecture
2.21-94 lines: Some variables and functions are defined
3.96-283 lines: Add some methods and properties to the JQ object
4.285-347 lines: Extend JQ inheritance method
5.349-817 lines: jquery.extend () extend some tool methods
6.877-2856 lines: Implementation of sizzle complex selector
7.2880-3042 lines: Callbacks callback object, unified management of the amount of the letter
8.3043-3183 lines: Deferred delay object, unified management of asynchronous
9.3184-3295 lines: Support function detection
10.3308-3652 Rows: Data () cache
11.3653-3797 lines: Quene () queue management
12.3803-4299 lines: attr (), prop (), Val (), addclass (), etc., Operations on element attributes
13.4300-5128 lines: On (), trigger () related methods for event operations
14.5140-6057 Rows: Dom Operations (incremental check)
15.6058-6620 lines: CSS () style operation
16.6621-7854 lines: Submitted Data and Ajax (), load (), Getjson ();
17.7855-8584 lines: Animate () Method of animation
18.8585-8792 lines: Offset () method of location and size gain setting
19.8804-8821 Lines: JQ support for Modular mode
20.8826 Lines: window. jquery = window.$ = jquery