Jquery.extend ({...}) Analysis

Source: Internet
Author: User
Tags throw exception

Zccst

See how it's written.

Jquery.extend ({

Prop: ""

Method:function () {}

});

As you can see, these methods are static properties and methods of jquery (also known as tool methods) that can be either directly available to the user in the future or used internally.

The specific implementation of the tool properties and methods are (also labeled which are used internally)

Jquery.extend ({
expando: Generate unique JQ string (internal)
noconflict (): Conflict prevention
Isready:dom Whether the load is finished (internal)
readywait: Counters (internal) for how many files to wait
Holdready (): Delay DOM Trigger
Ready (): Prepare DOM trigger
isfunction (): Whether it is a function
IsArray (): is the array
IsWindow (): Is window
IsNumeric (): Whether it is a number
type (): Determine data type
Isplainobject (): Is an object argument
Isemptyobject (): Is an empty object
error (): Throw exception
parsehtml (): Parse node
Parsejson (): Parsing JSON
Parsexml (): Parsing XML
noop (): null function
globaleval (): Global parsing JS
CamelCase (): Turn hump
NodeName (): Whether the specified node name (internal)
Each (): Iterating through the collection
trim (): Go space before and after
Makearray (): Class array to True array
InArray (): Array version indexof
Merge (): Merging arrays
grep (): Filter new Array
map (): Map a new array
GUID: Unique identifier (internal)
Proxy (): Change this to point to
access (): Multifunction value operation (internal)
now (): Current Time
swap (): CSS Exchange (internal)
});

JQuery.ready.promise = function () {}; Monitoring the DOM's asynchronous operation (internal)

function Isarraylike () {} array-like judgment (internal)

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.