Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Bug in rmultidash. Fixes #10194 | rwldrn | 2011-09-07 | 1 | -10/+13 | |
| | ||||||
* | Test for window inference. Fixes #10080 | rwldrn | 2011-08-18 | 1 | -0/+13 | |
| | ||||||
* | Merge pull request #456 from rwldrn/9318 | Dave Methvin | 2011-08-05 | 1 | -3/+6 | |
|\ | | | | | Improves support for arbitrary numbers in data keys. Fixes #9318 | |||||
| * | Adds failing tests | Rick Waldron | 2011-08-05 | 1 | -2/+5 | |
| | | ||||||
* | | Adds failing tests for #9413 | Rick Waldron | 2011-08-05 | 1 | -0/+28 | |
|/ | ||||||
* | Correct non-null|undefined evaluation of data property values. Fixes #9794 | Rick Waldron | 2011-07-10 | 1 | -0/+26 | |
| | ||||||
* | Landing pull request 403. Check for both camelized and hyphenated data ↵ | rwldrn | 2011-06-06 | 1 | -0/+17 | |
| | | | | | | | | property names; Fixes #9301. More Details: - https://github.com/jquery/jquery/pull/403 - http://bugs.jquery.com/ticket/9301 | |||||
* | Make sure that data properties with hyphens are always accessed/set using ↵ | John Resig | 2011-05-10 | 1 | -2/+7 | |
| | | | | camelCase. Fixes #9124. | |||||
* | Switch QUnit div from depreceted #main to #qunit-fixture | timmywil | 2011-04-17 | 1 | -2/+2 | |
| | ||||||
* | second batch | louisremi | 2011-04-11 | 1 | -23/+23 | |
| | ||||||
* | Fixes #7328. When getting data- attributes, after-cap any embedded dashes ↵ | Alexis Abril | 2011-04-10 | 1 | -1/+18 | |
| | | | | per the W3C HTML5 spec. | |||||
* | Only perpetrate the .toJSON hack on data caches when they are attached to a ↵ | Dave Methvin | 2011-02-17 | 1 | -6/+0 | |
| | | | | plain Javascript object. Part of the continuing saga of #8108. | |||||
* | Hide metadata when serializing JS objects using JSON.stringify via a toJSON ↵ | Colin Snover | 2011-02-14 | 1 | -3/+29 | |
| | | | | hack. Fixes #8108. | |||||
* | Revert portions of 7acb141ed7f2dedd950bb65acf878098640d081e that attempt to ↵ | Colin Snover | 2011-02-08 | 1 | -13/+2 | |
| | | | | use a function to hide jQuery metadata from JSON.stringify since this does not work reliably cross-browser (fails in Fx3.5, O11, Saf4). | |||||
* | Update $.data to use a function instead of an object when attaching to JS ↵ | Colin Snover | 2011-02-07 | 1 | -4/+19 | |
| | | | | objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable | |||||
* | Update unit tests with a leak detection mechanism for the various jQuery ↵ | Colin Snover | 2011-01-09 | 1 | -0/+4 | |
| | | | | globals and fix all leaks in the tests. | |||||
* | Change the way jQuery.data works so that there is no longer a chance of ↵ | Colin Snover | 2011-01-09 | 1 | -76/+162 | |
| | | | | collision between user data and internal data. Fixes #6968. | |||||
* | More unit tests and a $.hasData that works for JS objects too. | Colin Snover | 2010-12-22 | 1 | -6/+12 | |
| | ||||||
* | Update jQuery.hasData to always return a boolean, with unit tests. | Colin Snover | 2010-12-22 | 1 | -12/+21 | |
| | ||||||
* | Only try to get data attributes for a jQuery-wrapped object if it is ↵ | Colin Snover | 2010-12-03 | 1 | -1/+4 | |
| | | | | actually an Element node. Fixes #7524. | |||||
* | Add some more tests to make sure that pulling in data- properties on an ↵ | John Resig | 2010-10-17 | 1 | -3/+11 | |
| | | | | element with no data set, works. | |||||
* | Make sure that .data() (no args) returns a list of all the data- properties ↵ | John Resig | 2010-10-17 | 1 | -2/+21 | |
| | | | | as well. Also make sure that accessing a data- property via .data() doesn't cause it to change again at a later time (it should be static). Fixes #7222, #7223. | |||||
* | We removed deleteExpando after 1.4.2, for some reason. This caused problems ↵ | John Resig | 2010-10-17 | 1 | -1/+6 | |
| | | | | with removeData() (no arguments). Fixes #7209. | |||||
* | Added some more tests relating to attaching data to a window. | John Resig | 2010-10-11 | 1 | -2/+11 | |
| | ||||||
* | Using data() on JavaScript objects sets fields directly on the object. Note ↵ | Dave Reed | 2010-09-29 | 1 | -26/+34 | |
| | | | | that events are now a property of a function (to avoid JSON serialization - and only in the case of JavaScript objects, not DOM nodes). Fixes #6807. | |||||
* | Make sure that undefined is always returned for missing data properties. ↵ | jeresig | 2010-09-24 | 1 | -1/+4 | |
| | | | | Follow-up to #6304. | |||||
* | Allow data to be bound to Flash objects (but still stopping short of ↵ | jeresig | 2010-09-24 | 1 | -0/+18 | |
| | | | | attaching to applets. Fixes #6121. | |||||
* | Make .data(Object) extend the existing data object. Fixes #6692. | jeresig | 2010-09-22 | 1 | -2/+4 | |
| | ||||||
* | Fix bug when accessing .data() on an empty set. Return null rather than ↵ | Jacob Wright | 2010-09-22 | 1 | -13/+16 | |
| | | | | throwing exception. | |||||
* | Make sure the data- number has at least one number in it before passing to ↵ | jeresig | 2010-09-22 | 1 | -1/+5 | |
| | | | | isNaN. Thanks to @cms in 8ebb9b22df32fe5739a48087b6e33abb9f5cda49 for a heads-up. | |||||
* | Handle some additional data- number edge cases. | jeresig | 2010-09-21 | 1 | -11/+13 | |
| | ||||||
* | Make sure that the data- import also supports arrays. | jeresig | 2010-09-21 | 1 | -2/+4 | |
| | ||||||
* | Added in support for basic JSON object parsing of data- attributes. | John Resig | 2010-09-21 | 1 | -2/+4 | |
| | ||||||
* | Tweaked the data number RegExp some to handle some other edge cases. | John Resig | 2010-09-21 | 1 | -1/+5 | |
| | ||||||
* | Fixing the problem with data-* based numbers as mention by @jasonwebster in ↵ | jeresig | 2010-09-20 | 1 | -1/+3 | |
| | | | | 20673d7. | |||||
* | Pull data-* attributes into .data(). Original code by Andrée Hasson and ↵ | John Resig | 2010-09-20 | 1 | -0/+68 | |
| | | | | Paul Irish. Fixes #6921. | |||||
* | Make sure that .data() events don't bubble, per the discussion in ↵ | John Resig | 2010-07-27 | 1 | -1/+7 | |
| | | | | 2e10af143b7eafb7142524f6534a62aee1910bd1. Fixes #6832. | |||||
* | Ticket #6808. Changes data() so on plain objects, it uses a function to ↵ | InfinitiesLoop | 2010-07-23 | 1 | -3/+4 | |
| | | | | contain the cache ID to avoid it being JSON serialized. | |||||
* | Ticket #6804. Adds a changeData event. | InfinitiesLoop | 2010-07-20 | 1 | -5/+20 | |
| | ||||||
* | Attach data directly to plain objects, no reason to use the central ↵ | jeresig | 2010-02-27 | 1 | -3/+11 | |
| | | | | jQuery.cache. Fixes #6189. | |||||
* | Make sure that undefined is always returned for undefined data properties. ↵ | jeresig | 2010-02-26 | 1 | -6/+16 | |
| | | | | Fixes #6166. | |||||
* | Make sure that jQuery.data( elem ) always returns a data object, fixes ↵ | jeresig | 2010-01-28 | 1 | -7/+6 | |
| | | | | #5971. Improve the performance of .bind() and .unbind(), fixes #5972. | |||||
* | Added support for .data(Object), overwriting the existing data object. Fixes ↵ | John Resig | 2009-12-09 | 1 | -1/+15 | |
| | | | | #4284. | |||||
* | Split the queue code out from data.js into a dedicated queue.js file (also ↵ | John Resig | 2009-12-06 | 1 | -167/+0 | |
| | | | | split tests accordingly). | |||||
* | Added in the .delay() method for delaying the execution of queued functions ↵ | jeresig | 2009-12-04 | 1 | -0/+15 | |
| | | | | and animations. | |||||
* | Fixing endlines. | Mark Gibson | 2009-11-25 | 1 | -296/+296 | |
| | ||||||
* | Switched from using QUnit's isObj/isSet to the more robust same method. | John Resig | 2009-09-29 | 1 | -1/+1 | |
| | ||||||
* | A follow-up to [6578] (which stopped adding expandos to elements that didn't ↵ | John Resig | 2009-09-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -6/+21 | |
| | ||||||
* | jquery data: closes #5224. Exposing the expando. | Ariel Flesler | 2009-09-14 | 1 | -0/+16 | |
| |