jquery/src
John Resig 3a4e1233aa Landing the new expando management code. Completely overhauls how data is associated with elements.
Plugins will be most interested in:
- jQuery.data(elem) -> Unique ID for the element
- jQuery.data(elem, name) -> Named data store for the element
- jQuery.data(elem, name, value) -> Saves a value to the named data store
- jQuery.removeData(elem) -> Remove the expando and the complete data store
- jQuery.removeData(elem, name) -> Removes just this one named data store

jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so:
{{{
  $("#foo").remove().appendTo("#bar");
}}}
should be written like so:
{{{
  $("#foo").appendTo("#bar");
}}}
in order to avoid losing the bound events.
2007-09-08 23:31:23 +00:00
..
ajax.js Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
core.js Landing the new expando management code. Completely overhauls how data is associated with elements. 2007-09-08 23:31:23 +00:00
event.js Landing the new expando management code. Completely overhauls how data is associated with elements. 2007-09-08 23:31:23 +00:00
fx.js Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
intro.js Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used). 2007-08-22 06:51:41 +00:00
offset.js Reintroduced .offset() as a default include, added original author credits. 2007-09-08 18:02:39 +00:00
outro.js Fix for a selector speed regression (calling a simple selector many times resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression. 2007-08-21 05:43:44 +00:00
selector.js Landing the new expando management code. Completely overhauls how data is associated with elements. 2007-09-08 23:31:23 +00:00