aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix #14101: $().data() should be undefined, not nullCorey Frang2013-11-061-2/+1
|
* Fix #14459: Use jQuery.parseJSON instead of JSON.parseRichard Gibson2013-10-281-1/+1
|
* Ref 2263134b: Better identify potential JSON. Close gh-1401.Ronny Springer2013-10-161-1/+1
|
* No ticket: Compress core and data modulesRichard Gibson2013-09-281-6/+6
| | | | | | | | | (cherry picked from commit b31bd4c05d87660352a3f7d3081146e332440d99) Conflicts: src/core.js src/data.js
* Apply consistent ordering in all modules. -38 bytes. Order modules like ↵Timmy Willison2013-09-091-29/+29
| | | | functions > jQuery.extend > jQuery.fn.extend.
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-091-2/+3
| | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-0/+1
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-192/+10
|
* Fixes #14047 jQuery.data should not miss data-* w/ hyphenated property namesRick Waldron2013-06-241-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 cleanupRick Waldron2013-05-131-1/+3
|
* Use String.slice instead of String.substring in order to save a three bytes. ↵Jason Bedard2013-05-081-1/+1
| | | | Close gh-1261.
* Fixes #13850. Better removal of hyphenated data property names.Rick Waldron2013-05-021-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 Frang2013-04-241-6/+3
| | | | @rwldrn
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-6/+6
| | | | in tests. Fixes #13755.
* Add note about deprecation of _removeData and _dataRick Waldron2013-04-081-7/+2
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Move Data.prototype.accept => Data.acceptsRick Waldron2013-04-081-10/+18
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* No ticket. Use data_priv methods instead of jQuery._removeData and ↵Oleg Gaidarenko2013-04-081-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-1233Oleg Gaidarenko2013-04-081-17/+15
|
* Fixes #8335. Do not allow add data to non-elements (2.x). Closes gh-1232Oleg Gaidarenko2013-04-081-6/+20
|
* Better approach the hasData side effects fix. Thanks gibson042Rick Waldron2013-04-011-8/+2
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Avoid side-effects when calling jQuery.hasDataRick Waldron2013-04-011-2/+8
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* No ticket: Move property descriptor assignment to save a byte. Close gh-1188.stonelee2013-03-141-1/+1
|
* Fixes #13551. Guard against illegal data access by undefined elem-ownerRick Waldron2013-03-031-4/+7
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Simplify data-* attr lookup with camelKeyRick Waldron2013-03-021-4/+3
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes #13550. .data should not miss attr() set data-* with hyphenated ↵Michał Gołębiowski2013-03-021-3/+4
| | | | property names. Closes gh-1189
* Remove dup camelKey pathRick Waldron2013-03-011-8/+0
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixes #13548. .data should not miss attr() set data-* with hyphenated ↵Rick Waldron2013-03-011-0/+8
| | | | property names
* No ticket: Squeeze dataRichard Gibson2013-02-261-47/+35
|
* Fix #13494: Fallback defineProperties to jQuery.extend. Close gh-1182.Richard Gibson2013-02-261-36/+28
| | | | Android<4 (ancient WebKit) doesn't have full ES5 support.
* No ticket: move jQuery.expando to coreRichard Gibson2013-02-251-4/+0
|
* Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. ↵Rick Waldron2013-02-131-16/+25
| | | | Closes #1167
* Optimized Data rewriteRick Waldron2013-02-111-60/+92
|
* Ref fd43865c: restore correct logicRichard Gibson2013-02-041-1/+1
|
* Match the codebase standard, .split(" ") => .match( core_rnotwhite ) || ↵Rick Waldron2013-02-031-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 notesRick Waldron2013-02-031-1/+1
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Reduce hasData per @gibson042 review notes.Rick Waldron2013-02-031-4/+1
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Reduce Data.prototype.add by using the returned length value of ↵Rick Waldron2013-02-031-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 Waldron2013-02-031-227/+214
|
* Minor updates. All parameters of an internal function are for internal use only.Timmy Willison2013-01-301-12/+12
|
* Fix jQuery #13251: use slice instead of substringRichard Gibson2013-01-171-1/+1
| | | | (cherry picked from commit 37eb6125c0fb0bec4e0d043bc78110b4f49f3aa6)
* Fix #8335: Avoid memory leak by never setting data on non-element ↵danilsomsikov2013-01-161-0/+5
| | | | non-document nodes. Close gh-1127.
* Revert data.js rewrite.Dave Methvin2013-01-031-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 Waldron2012-12-311-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 Waldron2012-12-311-8/+9
| | | | | | local test runs) Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* 2.0: Rewrite data.jsRick Waldron2012-12-311-220/+189
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fix #12959: Optimize library-wide patternsRichard Gibson2012-11-271-1/+1
|
* Restore jQuery.access parameter mistakenly removed in 80d45a69Richard Gibson2012-11-061-1/+1
|
* Fix #10544. Remove deprecated .data() event namespaced triggering.Dave Methvin2012-10-311-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 #12786Rick Waldron2012-10-241-0/+8
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Remove deprecated $.uuid and dunseled $.deletedIds.Dave Methvin2012-10-201-5/+0
|