JQuery source code framework ideas
Start the scheduled time to read the source code. The first section describes how to read the jQuery framework.
(Function () {jQuery = function () {}; jQuery some variables and functions and add some methods and attributes to the jQuery object extend: Implementation of jQuery's inherited methods jQuery. extend (): Using jQuery to expand some tool Methods Sizzle: jQuery's own complex selector Callbacks: callback function Deferred: latency object (asynchronous) support: function detection (SNIFFING) data (): data Cache queue (): the queue method is mainly used to execute sequential management attr () prop () val () addClass () and so on: attribute operation related methods on () trigger () and so on: DOM Event operations related methods, such as adding, deleting, obtaining, packaging, DOM filtering, css (): unified style operations, ajax (): Ajax data operations related methods, animate (): motion-related method offset (): Method for location and size-related operations module: jQuery core modularization-related operations window. jQuery = window. $ = jQuery; expose the interface for external use })();
Since the source code analysis should first clarify the ideas of jQuery source code, where do I need to learn from jQuery's shortcomings and advantages? Where can I find out what I want to learn and start reading...