Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #10588. For now, event voyeurism only merits the look of disapproval. | Dave Methvin | 2011-10-26 | 1 | -3/+2 |
| | | | | If you are using `.data("events")` we would like to know how we can provide a documented interface that satisfies the need. | ||||
* | Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric. | Dave Methvin | 2011-10-11 | 1 | -1/+1 |
| | | | | Thanks to Christian C. Salvadó for the unit tests! | ||||
* | Landing pull request 512. 1.7 - removeData now takes space separated lists ↵ | Corey Frang | 2011-09-19 | 1 | -4/+17 |
| | | | | | | | | and arrays of keys - Fixes #7323. More Details: - https://github.com/jquery/jquery/pull/512 - http://bugs.jquery.com/ticket/7323 | ||||
* | Landing pull request 503. 1.7 data: set a flag in the private data cache to ↵ | Corey Frang | 2011-09-19 | 1 | -4/+6 |
| | | | | | | | | avoid having to scan attributes multiple times - Fixes #8909. More Details: - https://github.com/jquery/jquery/pull/503 - http://bugs.jquery.com/ticket/8909 | ||||
* | Landing pull request 500. 1.7 - "public data" stored as a key on "internal ↵ | Corey Frang | 2011-09-19 | 1 | -38/+23 |
| | | | | | | | | data" - Fixes #8921. More Details: - https://github.com/jquery/jquery/pull/500 - http://bugs.jquery.com/ticket/8921 | ||||
* | Bug in rmultidash. Fixes #10194 | rwldrn | 2011-09-07 | 1 | -2/+3 |
| | |||||
* | Test for window inference. Fixes #10080 | rwldrn | 2011-08-18 | 1 | -2/+2 |
| | |||||
* | Ensure cache[id] exists before attempting to delete it. Fixes #10080 | Rick Waldron | 2011-08-17 | 1 | -1/+2 |
| | |||||
* | Landing pull request 459. Do not allow assumed cache[id] in jQuery.data. ↵ | Rick Waldron | 2011-08-17 | 1 | -1/+1 |
| | | | | | | | | Fixes #8235. More Details: - https://github.com/jquery/jquery/pull/459 - http://bugs.jquery.com/ticket/8235 | ||||
* | Supports interoperable removal of hyphenated/camelCase properties. Fixes #9413 | Rick Waldron | 2011-08-05 | 1 | -2/+14 |
| | |||||
* | Do plain property check first, fallback to camelCase only if nec. Fixes #9794 | Rick Waldron | 2011-07-25 | 1 | -5/+5 |
| | |||||
* | Correct non-null|undefined evaluation of data property values. Fixes #9794 | Rick Waldron | 2011-07-10 | 1 | -5/+21 |
| | |||||
* | Landing pull request 403. Check for both camelized and hyphenated data ↵ | rwldrn | 2011-06-06 | 1 | -1/+4 |
| | | | | | | | | 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/+2 |
| | | | | camelCase. Fixes #9124. | ||||
* | Global found in dataAttr function | timmywil | 2011-05-06 | 1 | -1/+1 |
| | |||||
* | Fixes #7328. When getting data- attributes, after-cap any embedded dashes ↵ | Alexis Abril | 2011-04-10 | 1 | -4/+8 |
| | | | | 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 | -1/+10 |
| | | | | plain Javascript object. Part of the continuing saga of #8108. | ||||
* | Update jQuery.data to use jQuery.noop for toJSON hack instead of an ↵ | Colin Snover | 2011-02-14 | 1 | -3/+1 |
| | | | | additional superfluous function. | ||||
* | Hide metadata when serializing JS objects using JSON.stringify via a toJSON ↵ | Colin Snover | 2011-02-14 | 1 | -3/+23 |
| | | | | hack. Fixes #8108. | ||||
* | Revert portions of 7acb141ed7f2dedd950bb65acf878098640d081e that attempt to ↵ | Colin Snover | 2011-02-08 | 1 | -3/+1 |
| | | | | 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 | -2/+4 |
| | | | | 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 | ||||
* | Introduce a temporary hack to allow jQuery.fn.data("events") to continue to ↵ | Colin Snover | 2011-01-17 | 1 | -0/+7 |
| | | | | work. This will be going away in 1.6. More information will be available in the 1.5 release notes. | ||||
* | Change the way jQuery.data works so that there is no longer a chance of ↵ | Colin Snover | 2011-01-09 | 1 | -55/+107 |
| | | | | collision between user data and internal data. Fixes #6968. | ||||
* | Merge SlexAxton/jquery:master into jquery/jquery:master. | Colin Snover | 2010-12-26 | 1 | -1/+2 |
|\ | |||||
| * | Changed the expando string to use a random number instead of the time, so ↵ | Alex Sexton | 2010-12-26 | 1 | -2/+3 |
| | | | | | | | | collisions become less likely. Also added jQuery version to instantly differentiate separate versions of jQuery (a common use case for noConflict, etc, when two jQuery instances are on the page). Fixes #6842. | ||||
* | | Code style fix | Colin Snover | 2010-12-22 | 1 | -1/+1 |
| | | |||||
* | | More unit tests and a $.hasData that works for JS objects too. | Colin Snover | 2010-12-22 | 1 | -1/+5 |
| | | |||||
* | | Update jQuery.hasData to always return a boolean, with unit tests. | Colin Snover | 2010-12-22 | 1 | -1/+1 |
| | | |||||
* | | Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing ↵ | Colin Snover | 2010-12-19 | 1 | -2/+6 |
| | | | | | | | | these issues. | ||||
* | | Only try to get data attributes for a jQuery-wrapped object if it is ↵ | Colin Snover | 2010-12-03 | 1 | -7/+9 |
| | | | | | | | | actually an Element node. Fixes #7524. | ||||
* | | Make sure that when multiple variables are being declared that assignments ↵ | John Resig | 2010-11-09 | 1 | -1/+2 |
| | | | | | | | | are each done on their own line. | ||||
* | | Only need to declare the data once. | jeresig | 2010-10-21 | 1 | -3/+3 |
| | | |||||
* | | Make sure that .data() (no args) returns a list of all the data- properties ↵ | John Resig | 2010-10-17 | 1 | -21/+45 |
|/ | | | | 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. | ||||
* | Fixes acceptData defining in the global scope. | rwldrn | 2010-10-05 | 1 | -1/+1 |
| | |||||
* | Using data() on JavaScript objects sets fields directly on the object. Note ↵ | Dave Reed | 2010-09-29 | 1 | -30/+20 |
| | | | | 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 opacity is being reset properly on a show animation. ↵ | jeresig | 2010-09-27 | 1 | -3/+2 |
| | | | | Additionally expose jQuery.isNaN from the data module. | ||||
* | Allow data to be bound to Flash objects (but still stopping short of ↵ | jeresig | 2010-09-24 | 1 | -3/+17 |
| | | | | 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 | -2/+2 |
| | | | | throwing exception. | ||||
* | Applied the RegExp issues reported by Jeff Robinson here: ↵ | jeresig | 2010-09-22 | 1 | -2/+3 |
| | | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062. | ||||
* | Make sure the data- number has at least one number in it before passing to ↵ | jeresig | 2010-09-22 | 1 | -1/+1 |
| | | | | isNaN. Thanks to @cms in 8ebb9b22df32fe5739a48087b6e33abb9f5cda49 for a heads-up. | ||||
* | Escape RegExp braces to sooth JSLint's temper. | jeresig | 2010-09-21 | 1 | -1/+1 |
| | |||||
* | Switch to using isNaN instead of RegExp for data-. | jeresig | 2010-09-21 | 1 | -2/+1 |
| | |||||
* | Handle some additional data- number edge cases. | jeresig | 2010-09-21 | 1 | -1/+1 |
| | |||||
* | Make sure that the data- import also supports arrays. | jeresig | 2010-09-21 | 1 | -1/+1 |
| | |||||
* | Added in support for basic JSON object parsing of data- attributes. | John Resig | 2010-09-21 | 1 | -6/+10 |
| | |||||
* | Make sure that undefined is returned for not found data- attributes, not null. | John Resig | 2010-09-21 | 1 | -1/+4 |
| | |||||
* | Tweaked the data number RegExp some to handle some other edge cases. | John Resig | 2010-09-21 | 1 | -1/+1 |
| | |||||
* | Fixing the problem with data-* based numbers as mention by @jasonwebster in ↵ | jeresig | 2010-09-20 | 1 | -1/+1 |
| | | | | 20673d7. | ||||
* | Pull data-* attributes into .data(). Original code by Andrée Hasson and ↵ | John Resig | 2010-09-20 | 1 | -1/+17 |
| | | | | Paul Irish. Fixes #6921. |