Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes #14047 jQuery.data should not miss data-* w/ hyphenated property names | Rick Waldron | 2013-06-24 | 1 | -1/+6 |
| | | | | | http://bugs.jquery.com/ticket/14047 Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Optimize cleanData: allow direct access to data_priv for cleanup | Rick Waldron | 2013-05-13 | 1 | -1/+3 |
| | |||||
* | Use String.slice instead of String.substring in order to save a three bytes. ↵ | Jason Bedard | 2013-05-08 | 1 | -1/+1 |
| | | | | Close gh-1261. | ||||
* | Fixes #13850. Better removal of hyphenated data property names. | Rick Waldron | 2013-05-02 | 1 | -3/+4 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Fixes #13815: Ensure each element has its own private data object - Tests by ↵ | Corey Frang | 2013-04-24 | 1 | -6/+3 |
| | | | | @rwldrn | ||||
* | Update jshintrc to conform to new style guide. Conform to onevar and unused ↵ | Timmy Willison | 2013-04-09 | 1 | -6/+6 |
| | | | | in tests. Fixes #13755. | ||||
* | Add note about deprecation of _removeData and _data | Rick Waldron | 2013-04-08 | 1 | -7/+2 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Move Data.prototype.accept => Data.accepts | Rick Waldron | 2013-04-08 | 1 | -10/+18 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | No ticket. Use data_priv methods instead of jQuery._removeData and ↵ | Oleg Gaidarenko | 2013-04-08 | 1 | -9/+0 |
| | | | | jQuery._data; Remove needless, internal second argument of jQuery.cleanData. Closes gh-1234 | ||||
* | No ticket. Simplifies data methods and updates comments. Closes gh-1233 | Oleg Gaidarenko | 2013-04-08 | 1 | -17/+15 |
| | |||||
* | Fixes #8335. Do not allow add data to non-elements (2.x). Closes gh-1232 | Oleg Gaidarenko | 2013-04-08 | 1 | -6/+20 |
| | |||||
* | Better approach the hasData side effects fix. Thanks gibson042 | Rick Waldron | 2013-04-01 | 1 | -8/+2 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Avoid side-effects when calling jQuery.hasData | Rick Waldron | 2013-04-01 | 1 | -2/+8 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | No ticket: Move property descriptor assignment to save a byte. Close gh-1188. | stonelee | 2013-03-14 | 1 | -1/+1 |
| | |||||
* | Fixes #13551. Guard against illegal data access by undefined elem-owner | Rick Waldron | 2013-03-03 | 1 | -4/+7 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Simplify data-* attr lookup with camelKey | Rick Waldron | 2013-03-02 | 1 | -4/+3 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Fixes #13550. .data should not miss attr() set data-* with hyphenated ↵ | Michał Gołębiowski | 2013-03-02 | 1 | -3/+4 |
| | | | | property names. Closes gh-1189 | ||||
* | Remove dup camelKey path | Rick Waldron | 2013-03-01 | 1 | -8/+0 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Fixes #13548. .data should not miss attr() set data-* with hyphenated ↵ | Rick Waldron | 2013-03-01 | 1 | -0/+8 |
| | | | | property names | ||||
* | No ticket: Squeeze data | Richard Gibson | 2013-02-26 | 1 | -47/+35 |
| | |||||
* | Fix #13494: Fallback defineProperties to jQuery.extend. Close gh-1182. | Richard Gibson | 2013-02-26 | 1 | -36/+28 |
| | | | | Android<4 (ancient WebKit) doesn't have full ES5 support. | ||||
* | No ticket: move jQuery.expando to core | Richard Gibson | 2013-02-25 | 1 | -4/+0 |
| | |||||
* | Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. ↵ | Rick Waldron | 2013-02-13 | 1 | -16/+25 |
| | | | | Closes #1167 | ||||
* | Optimized Data rewrite | Rick Waldron | 2013-02-11 | 1 | -60/+92 |
| | |||||
* | Ref fd43865c: restore correct logic | Richard Gibson | 2013-02-04 | 1 | -1/+1 |
| | |||||
* | Match the codebase standard, .split(" ") => .match( core_rnotwhite ) || ↵ | Rick Waldron | 2013-02-03 | 1 | -2/+3 |
| | | | | | | []… no matter how awful it is >:| Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Standardize on a.indexOf(b) === -1, per @gibson042 review notes | Rick Waldron | 2013-02-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Reduce hasData per @gibson042 review notes. | Rick Waldron | 2013-02-03 | 1 | -4/+1 |
| | | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | Reduce Data.prototype.add by using the returned length value of ↵ | Rick Waldron | 2013-02-03 | 1 | -2/+1 |
| | | | | | | this.owners.push(owner) Signed-off-by: Rick Waldron <waldron.rick@gmail.com> | ||||
* | 2.0: Rewrite data.js (Incl. event, manipulation, tests) | Rick Waldron | 2013-02-03 | 1 | -227/+214 |
| | |||||
* | Minor updates. All parameters of an internal function are for internal use only. | Timmy Willison | 2013-01-30 | 1 | -12/+12 |
| | |||||
* | 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. |