aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle some additional data- number edge cases.jeresig2010-09-211-1/+1
|
* Make sure that the data- import also supports arrays.jeresig2010-09-211-1/+1
|
* Added in support for basic JSON object parsing of data- attributes.John Resig2010-09-211-6/+10
|
* Make sure that undefined is returned for not found data- attributes, not null.John Resig2010-09-211-1/+4
|
* Tweaked the data number RegExp some to handle some other edge cases.John Resig2010-09-211-1/+1
|
* Fixing the problem with data-* based numbers as mention by @jasonwebster in ↵jeresig2010-09-201-1/+1
| | | | 20673d7.
* Pull data-* attributes into .data(). Original code by Andrée Hasson and ↵John Resig2010-09-201-1/+17
| | | | Paul Irish. Fixes #6921.
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* Make sure that .data() events don't bubble, per the discussion in ↵John Resig2010-07-271-2/+7
| | | | 2e10af143b7eafb7142524f6534a62aee1910bd1. Fixes #6832.
* Fix for issues discussed in 9faab0b74fd316c2161612236d9ea8a01f3c78f8. Goes ↵Dave Reed2010-07-231-4/+6
| | | | towards fixing #6808.
* Ticket 6808. Updated per code review comments by jeresigInfinitiesLoop2010-07-231-6/+3
|
* Ticket #6808. Changes data() so on plain objects, it uses a function to ↵InfinitiesLoop2010-07-231-4/+25
| | | | contain the cache ID to avoid it being JSON serialized.
* Ticket #6804. Adds a changeData event.InfinitiesLoop2010-07-201-0/+1
|
* Expose jQuery.uuid (use with caution) and make sure the expando property is ↵John Resig2010-04-241-4/+8
| | | | used in the events module.
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-1/+1
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* Attach data directly to plain objects, no reason to use the central ↵jeresig2010-02-271-10/+17
| | | | jQuery.cache. Fixes #6189.
* Make sure that undefined is always returned for undefined data properties. ↵jeresig2010-02-261-1/+1
| | | | Fixes #6166.
* Found a better detect for deleting an expando, added back in removeAttribute ↵jeresig2010-02-131-1/+4
| | | | as it does work in IE.
* Clean up expando removal code - only try to delete the expando from an ↵jeresig2010-02-131-27/+1
| | | | element if it's possible.
* Further optimize the empty/remove/cleanData logic.jeresig2010-01-281-0/+19
|
* Make sure that jQuery.data( elem ) always returns a data object, fixes ↵jeresig2010-01-281-10/+7
| | | | #5971. Improve the performance of .bind() and .unbind(), fixes #5972.
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-4/+4
| | | | jQuery Core Style Guideline.
* Added support for .data(Object), overwriting the existing data object. Fixes ↵John Resig2009-12-091-4/+12
| | | | #4284.
* This is why you don't do commits when you're tired. Fixing bugs from ↵John Resig2009-12-071-2/+2
| | | | 59802928566b6be3a66d65e77c2418fff37e6f5f.
* Make sure that expando properties aren't set on embed, applet, or object ↵John Resig2009-12-061-0/+16
| | | | elements. An uncatchable exception is thrown and we must avoid it. Fixes #1675 and #2349.
* Split the queue code out from data.js into a dedicated queue.js file (also ↵John Resig2009-12-061-74/+0
| | | | split tests accordingly).
* Added in the .delay() method for delaying the execution of queued functions ↵jeresig2009-12-041-0/+15
| | | | and animations.
* added missing semicolonsKarl Swedberg2009-11-281-1/+1
|
* added curly braces around all if/else statementsKarl Swedberg2009-11-281-16/+18
|
* Fixing endlines.Mark Gibson2009-11-251-170/+170
|
* A follow-up to [6578] (which stopped adding expandos to elements that didn't ↵John Resig2009-09-251-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 dataBrandon Aaron2009-09-151-14/+24
|
* avoid creating a new data cache if we don't need one. Also, short-circuit ↵Yehuda Katz2009-09-151-9/+14
| | | | the case where $.data is used to get the cache id
* jquery data: adding missing semicolonsAriel Flesler2009-09-151-3/+3
|
* jquery data: closes #5224. Exposing the expando.Ariel Flesler2009-09-141-0/+2
|
* Refactor queueing system to allow auto-dequeuing to use dequeue directly andYehuda Katz2009-07-161-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 lookupsYehuda Katz2009-07-161-23/+15
| | | | - Also added jQuery.isEmptyObject
* Implemented .data() to get the entire data object. Closes #4284Yehuda Katz2009-07-161-0/+4
|
* clearQueue and next should now work with default fx on all browsersYehuda Katz2009-07-131-4/+4
|
* Fix dangling comma of death in data.jsYehuda Katz2009-07-131-1/+1
|
* Add clearQueue for clearing non-fx queuesYehuda Katz2009-07-121-1/+4
|
* Added a next() shortcut for queuesYehuda Katz2009-07-121-1/+1
|
* remove trailing spacesBrandon Aaron2009-03-231-7/+7
|
* jquery data: Fixed a weird patch merging issue from [6011]Ariel Flesler2008-12-301-146/+1
|
* jquery data: Oops.. forgot to commit the new data module. This is part of ↵Ariel Flesler2008-12-301-0/+290
[6010].