jquery Source Framework Ideas

Source: Internet
Author: User

Start planning time to read the source code, the first section of the jquery framework reading ideas organized

(function(){jQuery = function(){}; jquery some variables and functions and add some methods and properties to the jquery objectThe implementation of Extend:jquery inheritance method jquery.extend(): Using jquery to extend some tool methods sizzle:jquery self-implemented complex selectors callbacks: callback function Deferred: Deferred object (Async) Support: feature detection (sniffing) data(): Data Cache Queue(): Queue methods are primarily used to perform sequential management attr()Prop()Val()AddClass()ET: Related methods of property manipulation on()Trigger()ET: DOM event action related methods, such as add delete get wrapper dom filter CSS(): Unified Style Operation Ajax(): Methods related to AJAX data manipulation animate(): Motion-related methods offset(): Methods for position and dimension related Operations Module:jquery core modularity-related Operations window.jquery = window.$ = JQueryexposing the interface for external use})();
    1. Since the analysis of the source code must first clarify the idea
    2. jquery source What I need to learn from the place
    3. What are the drawbacks and advantages of jquery?
    4. What I can reap
Take the above questions and start reading ...
      -

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

jquery Source Framework Ideas

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.