aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
Commit message (Collapse)AuthorAgeFilesLines
* Data: always camelCase keys in .data()Timmy Willison2015-05-041-61/+36
| | | | | | | - This effectively implements our "Embrace HTML5" option - Related: http://goo.gl/GcQAtn Fixes gh-2257
* Data: use removeAttribute in cleanData to bypass Chrome bugJason Bedard2014-12-101-2/+2
| | | | | | | Related: https://code.google.com/p/chromium/issues/detail?id=378607 Fixes gh-1664
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: build/tasks/build.js src/ajax/xhr.js src/attributes/classes.js src/attributes/prop.js src/attributes/val.js src/core/init.js src/core/ready.js src/css.js src/css/curCSS.js src/css/defaultDisplay.js src/data.js src/data/var/dataPriv.js src/data/var/dataUser.js src/dimensions.js src/effects.js src/event.js src/manipulation.js src/offset.js src/queue.js src/selector-native.js test/data/testrunner.js
* Data: Work around IE11 bug with onpageshow attributeDave Methvin2014-04-301-5/+8
| | | | | | | | | Fixes #14894 (cherry picked from commit b8133e282ceebf502c7c08d849b176a929c9c450) Conflicts: src/data.js test/unit/data.js
* Fix some code style inconsistenciesOleg2013-11-071-1/+1
|
* Fix #14074: element id="nodeName". Close gh-1389.Richard Gibson2013-11-071-6/+6
|
* Fix #14101: $().data() should be undefined, not nullCorey Frang2013-11-061-3/+2
| | | | - Backported 30eee925dbc9f8d465ccf064f48c24061ffdc378 for 1.x
* Fix #14459: Use jQuery.parseJSON instead of JSON.parseRichard Gibson2013-10-281-1/+1
| | | | (cherry picked from commit ced9d155f010bc456745a55a63ca959db9d405d3)
* Ref 2263134b: Better identify potential JSON. Close gh-1401.Ronny Springer2013-10-161-1/+1
| | | | | | | | (cherry picked from commit 083edd60a6c189f17ff1087431e849dd11c111b2) Conflicts: src/data.js
* No ticket: Compress core and data modulesRichard Gibson2013-09-281-6/+6
|
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-091-1/+0
| | | | | | | | | | | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax. Conflicts: src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/traversing.js
* Always return jQuery in modules that can be included separatelyTimmy Willison2013-09-081-0/+1
| | | | | | | Conflicts: src/attributes.js src/data.js src/manipulation.js
* Fix #10814. Fix #14084. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-2/+3
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-61/+57
| | | | | | | | | | | | | | | | | | | | Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
* Update grunt-contrib-jshint to 0.3.0, ref gh-1204.Michał Gołębiowski2013-04-031-0/+2
|
* No ticket: move jQuery.expando to coreRichard Gibson2013-02-251-4/+0
|
* No ticket: keep jquery.min.js.gz under 32KRichard Gibson2013-02-121-27/+25
|
* Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.Oleg2013-01-311-4/+3
| | | | | Change uglify-js options for compressor Change variables initialization sequence for some declarations
* Minor updates. All parameters of an internal function are for internal use only.Timmy Willison2013-01-301-11/+11
|
* Fix jQuery #13251: use slice instead of substringRichard Gibson2013-01-171-1/+1
|
* Fix #8335: Avoid memory leak by never setting data on non-element ↵danilsomsikov2013-01-161-0/+5
| | | | | | non-document nodes. Ref gh-1127. (cherry picked from commit cc324abf739669bd2a4669742c994b86c4ad467b)
* 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
|
* Don't expose jQuery.deletedIds. Close gh-889.Rick Waldron2012-10-201-1/+1
|
* Create private methods for processing data/removeData requests. Fixes ↵carldanley2012-10-161-152/+164
| | | | #12519, Closes gh-976
* Fix #12229, size/consistency improvements. Close gh-887.Richard Gibson2012-09-181-3/+3
|
* Fix #10863. Allow newlines in JSON data- attributes.Dave Methvin2012-08-231-1/+1
|
* Fix #7579. Don't convert to number if it changes the string. Close gh-852.Dave Methvin2012-07-251-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 Sherov2012-07-091-1/+2
|
* DRY out removeData/cleanData, closes gh-838.Richard Gibson2012-07-061-38/+14
|
* Fix #10589. Remove deprecated $.fn.data("events") special case.Dave Methvin2012-06-111-11/+4
| | | | No unit tests were harmed in the removal of this hack.
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Fix #8545. Plug event handling memory leak in oldIE.Oleg2012-04-041-1/+5
|
* Fix #11309. Recognize hexadecimal in data attributes.Sindre Sorhus2012-02-091-1/+1
|
* Precompute the parts array; clean up a JSLint complaint.Dave Methvin2011-12-061-3/+4
| | | | Followup to 6c2a501de40a5f6b3ad382e2d309e5a10fce04d0 for bug #5571.
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-28/+35
|
* It seems the convention is to use `self` for caching `jQuery ( this )` ↵Justin2011-11-061-3/+3
| | | | instead of using `$this`.
* Removing a stale line of code in `.data()`Corey Frang2011-11-061-10/+12
|
* User internalKey instead of jQuery.expando. Fixes #10675Rick Waldron2011-11-061-7/+7
|
* Make sure `.data("events")` still works, for now.Dave Methvin2011-10-261-7/+8
|
* Fix #10588. For now, event voyeurism only merits the look of disapproval.Dave Methvin2011-10-261-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 Methvin2011-10-111-1/+1
| | | | Thanks to Christian C. Salvadó for the unit tests!
* Landing pull request 512. 1.7 - removeData now takes space separated lists ↵Corey Frang2011-09-191-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 Frang2011-09-191-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 Frang2011-09-191-38/+23
| | | | | | | | data" - Fixes #8921. More Details: - https://github.com/jquery/jquery/pull/500 - http://bugs.jquery.com/ticket/8921
* Bug in rmultidash. Fixes #10194rwldrn2011-09-071-2/+3
|
* Test for window inference. Fixes #10080rwldrn2011-08-181-2/+2
|