Registry Candidates for jQuery Library

From MemberWiki

Jump to: navigation, search

This wiki page holds the Registry entry for jQuery.

Contents

Status

Not yet approved.

Proposed Registry Entry

jQuery: { 
  namespaceURI:"http://jquery.com", 
  version:"1.2",
  globals_to_approve:
    [
    "jQuery"
    ]
}

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"
      ]
  }
}

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.

Personal tools