Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added missing semicolons | Karl Swedberg | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | added curly braces around all if/else statements | Karl Swedberg | 2009-11-28 | 1 | -16/+18 |
| | |||||
* | Fixing endlines. | Mark Gibson | 2009-11-25 | 1 | -170/+170 |
| | |||||
* | A follow-up to [6578] (which stopped adding expandos to elements that didn't ↵ | John Resig | 2009-09-25 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | data should not add expando unless actually adding data | Brandon Aaron | 2009-09-15 | 1 | -14/+24 |
| | |||||
* | avoid creating a new data cache if we don't need one. Also, short-circuit ↵ | Yehuda Katz | 2009-09-15 | 1 | -9/+14 |
| | | | | the case where $.data is used to get the cache id | ||||
* | jquery data: adding missing semicolons | Ariel Flesler | 2009-09-15 | 1 | -3/+3 |
| | |||||
* | jquery data: closes #5224. Exposing the expando. | Ariel Flesler | 2009-09-14 | 1 | -0/+2 |
| | |||||
* | Refactor queueing system to allow auto-dequeuing to use dequeue directly and | Yehuda Katz | 2009-07-16 | 1 | -16/+23 |
| | | | | | | | | | | | therefore require dequeue to always leave the element it has dequeued on the queue. - In the fx queue, a progress sentinel is added when a queue element is dequeued. - The sentinel is ignored when dequeue is called explicitly - When adding a new element to the fx queue, queue() checks if the progress sentinel is present. If not, it calls dequeue() | ||||
* | Refactor jQuery.data a bit to reduce property lookups | Yehuda Katz | 2009-07-16 | 1 | -23/+15 |
| | | | | - Also added jQuery.isEmptyObject | ||||
* | Implemented .data() to get the entire data object. Closes #4284 | Yehuda Katz | 2009-07-16 | 1 | -0/+4 |
| | |||||
* | clearQueue and next should now work with default fx on all browsers | Yehuda Katz | 2009-07-13 | 1 | -4/+4 |
| | |||||
* | Fix dangling comma of death in data.js | Yehuda Katz | 2009-07-13 | 1 | -1/+1 |
| | |||||
* | Add clearQueue for clearing non-fx queues | Yehuda Katz | 2009-07-12 | 1 | -1/+4 |
| | |||||
* | Added a next() shortcut for queues | Yehuda Katz | 2009-07-12 | 1 | -1/+1 |
| | |||||
* | remove trailing spaces | Brandon Aaron | 2009-03-23 | 1 | -7/+7 |
| | |||||
* | jquery data: Fixed a weird patch merging issue from [6011] | Ariel Flesler | 2008-12-30 | 1 | -146/+1 |
| | |||||
* | jquery data: Oops.. forgot to commit the new data module. This is part of ↵ | Ariel Flesler | 2008-12-30 | 1 | -0/+290 |
[6010]. |