- 26 Sep, 2009 1 commit
-
-
John Resig authored
A follow-up to [6578] (which stopped adding expandos to elements that didn't have data). That broke jQuery.unique() (so we're now using the unique from Sizzle). Using Sizzle's unique (which also sorts in document order) changed how add, andSelf, parents, nextAll, prevAll, and siblings work. after and before were changed to not use .add() (in order to guarantee their position in the jQuery set). Also, jQuery.data(elem) was updated to return that element's data object (instead of its ID). $("<div/>").after("<span/>") => [ div, span ] (calling after on a disconnected DOM node adds the nodes to the end of the jQuery set) $("<div/>").before("<span/>") => [ span, div ] (calling before on a disconnected DOM node adds the nodes to the beginning of the jQuery set) $("div").add("span") => [ div, span, span, div, span ] (results now come out in document order) $("div").find("code").andSelf(); => [ div, code, code ] (results now come out in document order) Same goes for .parents(), .nextAll(), .prevAll(), and .siblings(). Exception: .parents() will still return the results in reverse document order. jQuery.data(elem) => { object of data } (no longer returns the unique ID assigned to the node)
-
- 18 Sep, 2009 1 commit
-
-
Yehuda Katz authored
-
- 16 Sep, 2009 12 commits
-
-
Yehuda Katz authored
-
Ariel Flesler authored
jquery event: closes #5250. bind(), unbind() and one() support Object Literals (needs some refactor though)
-
Brandon Aaron authored
-
John Resig authored
-
John Resig authored
-
Brandon Aaron authored
-
Jörn Zaefferer authored
-
Jörn Zaefferer authored
fixed global variables introduced in for loop with missing var-keyword (detected via QUnit's no ?noglobals)
-
Ariel Flesler authored
-
Ariel Flesler authored
-
John Resig authored
Adding some fixes for commit [6537]. If there's leading whitespace, or if an exception is thrown by innerHTML, we need to use the old style method.
-
Ariel Flesler authored
-
- 15 Sep, 2009 20 commits
-
-
John Resig authored
Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet Explorer (cleanData wasn't handling malformed NodeList results correctly).
-
Ariel Flesler authored
-
Ariel Flesler authored
-
Yehuda Katz authored
avoid creating a new data cache if we don't need one. Also, short-circuit the case where $.data is used to get the cache id
-
Ariel Flesler authored
-
Yehuda Katz authored
-
Ariel Flesler authored
-
Ariel Flesler authored
-
John Resig authored
Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML documents and that we only attempt to use .innerHTML on DOM Elements.
-
John Resig authored
-
Ariel Flesler authored
-
Ariel Flesler authored
-
John Resig authored
Added support for .before(), .after(), and .replaceWith() on disconnected DOM nodes. Fixes bug #3940.
-
Ariel Flesler authored
-
Brandon Aaron authored
-
Brandon Aaron authored
-
Brandon Aaron authored
-
Ariel Flesler authored
-
Ariel Flesler authored
jquery core: Fixed #5202. Fixing selector generation when a manipulation function receives a jQuery object.
-
Ariel Flesler authored
-
- 12 Sep, 2009 1 commit
-
-
Ariel Flesler authored
-
- 10 Sep, 2009 3 commits
-
-
Ariel Flesler authored
jquery core: Closes #5189. Added a generic function to handle getting/setting key-value/setting a hash.
-
Ariel Flesler authored
-
Ariel Flesler authored
-
- 09 Sep, 2009 1 commit
-
-
John Resig authored
-
- 08 Sep, 2009 1 commit
-
-
John Resig authored
-