Registry Candidates for jQuery Library
From MemberWiki
This wiki page holds the Registry entry for jQuery.
Contents |
[edit]
Status
Not yet approved.
[edit]
Proposed Registry Entry
jQuery: {
namespaceURI:"http://jquery.com",
version:"1.2",
globals_to_approve:
[
"jQuery"
]
}
[edit]
Using new syntax
Here is the above content re-expressed using the new, revised syntax we discussed at the 2008-03-21 face-to-face meeting. Once we approve the new syntax, we should delete the snippet just above and leave the code just below.
jQuery: {
namespaceURI:"http://jquery.com",
version:"1.2",
to_approve: {
globals:
[
"jQuery"
]
}
}
[edit]
Discussion
jQuery also adds an expando to HTML elements (named jQuery + the current date at the time the library is initialized) where it stores an index that is later used as the key in a dictionary of data associated with the elements. This expando should probably be declared.
