Commit graph

8 commits

Author SHA1 Message Date
Jörn Zaefferer 1753ab3d82 jquery testrunner: reset $.ajaxSettings after each run to prevent sideeffects between tests 2008-05-06 19:39:58 +00:00
Jörn Zaefferer d726a96b1f jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel 2008-05-05 23:29:28 +00:00
Ariel Flesler ba391eccf9 - Adding the enhancements to the test runner, to accept multiple(and negative) filters from the GET variables, as specified in the ticket #2738. 2008-04-24 21:32:35 +00:00
Jörn Zaefferer f12d94a628 testrunner: refactored url-test-filter, still regex based 2008-04-24 20:08:50 +00:00
Jörn Zaefferer f861c88b1b jquery testrunner: accept regexp to select tests, eg. /test/?^core|^selector to run both core and selector module 2008-04-22 22:43:18 +00:00
Jörn Zaefferer 4d13f3701c fixed jsdoc for equals 2007-12-04 16:42:42 +00:00
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
John Resig b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
Renamed from build/test/data/testrunner.js (Browse further)