Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix jQuery #13251: use slice instead of substring | Richard Gibson | 2013-01-17 | 1 | -1/+1 | |
| | | | | (cherry picked from commit 37eb6125c0fb0bec4e0d043bc78110b4f49f3aa6) | |||||
* | Fix #8335: Avoid memory leak by never setting data on non-element ↵ | danilsomsikov | 2013-01-16 | 1 | -0/+5 | |
| | | | | non-document nodes. Close gh-1127. | |||||
* | Revert data.js rewrite. | Dave Methvin | 2013-01-03 | 1 | -193/+220 | |
| | | | | | | | | | | | | | | | | | | | | | | Reverts the following commits: commit f717226b3a44f918eec30b2d59ab257270189bc3 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 18:06:38 2012 -0500 Only splice from internal arrays when item actually exists. commit b9cdc4136b688963d1dc4befb169be02a0216ba9 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 16:20:35 2012 -0500 Updates to data.js re-write to pass events and manipulation commit d1de3000c6d50c298de14fb1ae3381d75c303723 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 15:09:45 2012 -0500 2.0: Rewrite data.js | |||||
* | Only splice from internal arrays when item actually exists. | Rick Waldron | 2012-12-31 | 1 | -2/+5 | |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | |||||
* | Updates to data.js re-write to pass events and manipulation (full pass in ↵ | Rick Waldron | 2012-12-31 | 1 | -8/+9 | |
| | | | | | | local test runs) Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | |||||
* | 2.0: Rewrite data.js | Rick Waldron | 2012-12-31 | 1 | -220/+189 | |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | |||||
* | Fix #12959: Optimize library-wide patterns | Richard Gibson | 2012-11-27 | 1 | -1/+1 | |
| | ||||||
* | Restore jQuery.access parameter mistakenly removed in 80d45a69 | Richard Gibson | 2012-11-06 | 1 | -1/+1 | |
| | ||||||
* | Fix #10544. Remove deprecated .data() event namespaced triggering. | Dave Methvin | 2012-10-31 | 1 | -23/+5 | |
| | | | | Data events were horribly slow, never documented, and caused strange interpretation of data items with dots in them. | |||||
* | Brute force property removal when removeData([a,b,c]). Fixes #12786 | Rick Waldron | 2012-10-24 | 1 | -0/+8 | |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | |||||
* | Remove deprecated $.uuid and dunseled $.deletedIds. | Dave Methvin | 2012-10-20 | 1 | -5/+0 | |
| | ||||||
* | Don't expose jQuery.deletedIds. Close gh-889. | Rick Waldron | 2012-10-20 | 1 | -1/+1 | |
| | ||||||
* | Create private methods for processing data/removeData requests. Fixes ↵ | carldanley | 2012-10-16 | 1 | -152/+164 | |
| | | | | #12519, Closes gh-976 | |||||
* | Fix #12229, size/consistency improvements. Close gh-887. | Richard Gibson | 2012-09-18 | 1 | -3/+3 | |
| | ||||||
* | Fix #10863. Allow newlines in JSON data- attributes. | Dave Methvin | 2012-08-23 | 1 | -1/+1 | |
| | ||||||
* | Fix #7579. Don't convert to number if it changes the string. Close gh-852. | Dave Methvin | 2012-07-25 | 1 | -2/+3 | |
| | | | | Net effect here is that hex numbers and most exponential-format numbers or long sequences of digits will remain strings rather than being coerced to numbers. `The people have spoken. | |||||
* | Follow the style guide, lose 72 bytes! Closes gh-840. | Mike Sherov | 2012-07-09 | 1 | -1/+2 | |
| | ||||||
* | DRY out removeData/cleanData, closes gh-838. | Richard Gibson | 2012-07-06 | 1 | -38/+14 | |
| | ||||||
* | Fix #10589. Remove deprecated $.fn.data("events") special case. | Dave Methvin | 2012-06-11 | 1 | -11/+4 | |
| | | | | No unit tests were harmed in the removal of this hack. | |||||
* | Strips IIFEs from modules; Always require built jQuery for tests. | Rick Waldron | 2012-06-04 | 1 | -4/+0 | |
| | ||||||
* | Fix #8545. Plug event handling memory leak in oldIE. | Oleg | 2012-04-04 | 1 | -1/+5 | |
| | ||||||
* | Fix #11309. Recognize hexadecimal in data attributes. | Sindre Sorhus | 2012-02-09 | 1 | -1/+1 | |
| | ||||||
* | Precompute the parts array; clean up a JSLint complaint. | Dave Methvin | 2011-12-06 | 1 | -3/+4 | |
| | | | | Followup to 6c2a501de40a5f6b3ad382e2d309e5a10fce04d0 for bug #5571. | |||||
* | Fix #5571. Setters should treat `undefined` as a no-op and be chainable. | Richard Gibson | 2011-12-06 | 1 | -28/+35 | |
| | ||||||
* | It seems the convention is to use `self` for caching `jQuery ( this )` ↵ | Justin | 2011-11-06 | 1 | -3/+3 | |
| | | | | instead of using `$this`. | |||||
* | Removing a stale line of code in `.data()` | Corey Frang | 2011-11-06 | 1 | -10/+12 | |
| | ||||||
* | User internalKey instead of jQuery.expando. Fixes #10675 | Rick Waldron | 2011-11-06 | 1 | -7/+7 | |
| | ||||||
* | Make sure `.data("events")` still works, for now. | Dave Methvin | 2011-10-26 | 1 | -7/+8 | |
| | ||||||
* | 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. |