aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Event: remove deprecated event aliases"Oleg Gaidarenko2015-12-221-2/+2
| | | | This reverts commit ef30bdf4f1b361b6f2e99f5b7233b419f95a62f2.
* Revert "Ajax: Remove remnants of the load event alias handling"Oleg Gaidarenko2015-12-221-2/+11
| | | | This reverts commit 38bd5feddeca3acdd740300f370450621d4e2731.
* Revert "Deferred: add .catch handler"Oleg Gaidarenko2015-12-221-3/+0
| | | | This reverts commit ef77f83db86b806425203d1e5ecbcc119d7b9c32.
* Revert "CSS: Make .css("width") & .css("height") return fractional values"Oleg Gaidarenko2015-12-222-36/+10
| | | | This reverts commit 23212b34e690e857cbc46951dd8c018d181206cb.
* Revert "Effects: Remove additional parameters of easings"Oleg Gaidarenko2015-12-221-5/+10
| | | | This reverts commit 41a04e59df5beac4ca61b3b5e3a6b078b6aee1ac.
* Revert "CSS: Make show/hide/toggle methods a module"Oleg Gaidarenko2015-12-222-27/+23
| | | | This reverts commit 3842246024475eafdc8a00a7ac4358d06d76cab2.
* Revert "Core: make isNumeric limited to strings and numbers"Oleg Gaidarenko2015-12-221-6/+6
| | | | This reverts commit ada073e9acfc9a103b13b9b69d26590e1c834d04.
* Revert "Attributes: do not set properties to false when removing booleans"Oleg Gaidarenko2015-12-221-1/+18
| | | | This reverts commit 5c086c3782459307c44397549fef15a87c8b90c4.
* Attributes: do not set properties to false when removing booleansTimmy Willison2015-10-261-18/+1
| | | | | | | | | Fixes gh-1759 (cherry picked from commit 47ccf3daadc4b312f850502300129952e70f9d9d) Conflicts: src/attributes/attr.js
* Core: make isNumeric limited to strings and numbersTimmy Willison2015-10-251-6/+6
| | | | | | Fixes gh-2662 (cherry picked from commit 15ac848868e993dfe5ccd7751a94f5c8edc288bc)
* CSS: use isFinite in place of redundant isNumericTimmy Willison2015-10-251-1/+1
| | | | (cherry picked from commit 3689963909880ed832ac17eabf7b9260927a68d8)
* CSS: fix AMD mode for the new showHide moduleTimmy Willison2015-10-251-1/+2
| | | | | | | (cherry picked from commit 32cfc38a9c76d1f9163759c811cb9c82eb47d565) Conflicts: src/css/showHide.js
* Event: Fix delegated radio events when arrow keys are usedDave Methvin2015-10-251-3/+4
| | | | | | | Fixes gh-2343, gh-2410 Close gh-2617 (cherry picked from commit c82a6685bb964627e27008e298f93ea81218265b)
* Attributes: removeClass() -> attr("class", "")Thomas Tortorini2015-10-251-24/+22
| | | | | | | | | | | - Classes simpliciation Close gh-2465 (cherry picked from commit 5db1e053098af747330044d5740e5379f2834402) Conflicts: src/attributes/classes.js
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-251-5/+2
| | | | | | Ref gh-2491 (cherry picked from commit 4bf1a09522955eb52de1fafb4ee1ecc5982b7a3e)
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-251-52/+21
| | | | | | | | | | Fixes gh-2491 Close gh-2618 (cherry picked from commit 53f798cf4d783bb813b4d1ba97411bc752b275f3) Conflicts: src/attributes/classes.js
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-252-23/+25
| | | | | | | | | | | | | | | | Unit test changes some uses of .show() and .hide() to .css( "display", ... ), there was already an implicit assumption in several of the existing tests. Fixes gh-2193 Close gh-2648 (cherry picked from commit 67d7a2eefee768b59eb3d51cb1fb2c671873e58a) Conflicts: Gruntfile.js src/css.js src/css/showHide.js test/unit/css.js
* Deprecated: fix amd mode for the deprecated moduleTimmy Willison2015-10-251-1/+3
| | | | (cherry picked from commit e271f665dd8fb617a5015051e1c9df8cebd6c97b)
* Core: make isNumeric test work on SymbolLiza Ramo2015-10-251-1/+2
| | | | | | | Ref #2645 Closes #2657 (cherry picked from commit 0703fd52ef88a2cdac93502070c51c93ffa1dfdd)
* Ajax: Don't let onreadystatechange preempt exceptions from xhr.sendRichard Gibson2015-10-231-2/+6
| | | | Ref 0a6e1c4b191f177fce2dac5fd3a17b76f853fd26
* Ajax: Catch synchronous readystatechange eventsRichard Gibson2015-10-231-6/+8
| | | | | Fixes gh-2673 Ref trac-14683
* CSS: Protect against getBoundingClientRect exceptionsRichard Gibson2015-10-201-6/+15
| | | | | Ref 487d5ca913c237aafe9efa1179749b46382fddbf Ref 6df399073c6027608dff84bbd3b71e62df6c1c9b
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-182-9/+35
| | | | | Fixes gh-2237 Closes gh-2276
* Core: Support Symbol wrapper objects in jQuery.typeChristian Grete2015-10-131-1/+1
| | | | | | | | | | In ECMAScript 2015 (ES6), the native typeof operator returns "symbol" for Symbol primitives. As it is possible to wrap symbols using the Object constructor, symbols can be objects as well as any other primitive type in JavaScript and should be determined by jQuery.type. Cherry-picked from 8a734344f2566dab5b8d34ecd79ae81ebd8843c5 Closes gh-2627
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-122-4/+4
| | | | | | Cherry-picked from 239169bb2ede6ea6287d82d1d13b0c354f451749 Fixes gh-2584 Closes gh-2643
* Ajax: correct indentationOleg Gaidarenko2015-10-121-3/+3
| | | | | | As noted by @arthurvr Follow-up for f60729f3903d17917dc351f3ac87794de379b0cc
* Tests:Docs: Fix various typosGary Ye2015-10-121-1/+1
| | | | | | | | | | | | | * Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Cherry-picked from 03eaadb131df925d1072afd2496ee3b41d2f1fc6 Closes gh-2613 Closes gh-2601
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-122-18/+22
| | | | | | Cherry-picked from ee0854f85bd686b55757e8854a10480f23c928da Fixes gh-2288 Closes gh-2624
* Ajax: Mitigate possible XSS vulnerabilityOleg Gaidarenko2015-10-121-0/+7
| | | | | | | | Proposed by @jaubourg Cherry-picked from b078a62013782c7424a4a61a240c23c4c0b42614 Fixes gh-2432 Closes gh-2588
* Manipulation: Don't provide the parser with sloppy table markupAnthony Ryan2015-09-141-13/+5
| | | | | | | | | | | | | | | | | | | While we can reply on parsers that were designed to cope with malformed syntax to understand what we mean, we shouldn't intentionally provide bad markup, not all parsers will accept it. "Be conservative in what you do, be liberal in what you accept from others." (cherry-picked from 99e8ff1baa7ae341e94bb89c3e84570c7c3ad9ea) Reverts 0ea342a6a6dce793c1b0f14f051c2573f40f4e44 Refs gh-2031 Refs gh-2002 Fixes gh-2493 Closes gh-2499
* Event: Use form prop so that a propHook can be usedAdrian Olek2015-09-141-1/+6
| | | | | Fixes gh-2332 Closes gh-2575
* Manipulation: Switch rnoInnerhtml to a version more performant in IESean Henderson2015-09-081-1/+5
| | | | | | | | | | | | | | IE versions greater than 9 do not handle the old regular expression well with large html content. This is due to the use of a non-capturing group after a very common html character (<). Test suite: http://jsfiddle.net/Lwa0t5rp/3/ Microsoft bug: https://connect.microsoft.com/IE/feedback/details/1736512/ (cherry-picked from d4def22e4cd1c2eb2571f449e226b38384fb6d81) Fixes gh-2563 Closes gh-2574
* Traversing: Don't expose jQuery.dir & jQuery.siblingMichał Gołębiowski2015-09-083-38/+46
| | | | | | | | | | jQuery.dir & jQuery.sibling are undocumented internal APIs; they shouldn't be exposed. (cherry-picked from f9ef427d355a8a2b531aed5d112dfa4f9692105c) Fixes gh-2512 Closes gh-2525
* Effects: Finish should call progressThomas Tortorini2015-09-081-0/+1
| | | | | | | (cherry-picked from 3dd3d1357d027a487559516fcdd9064cc792edab) Fixes gh-2283 Closes gh-2292
* Core: Remove unnecessary parameter to jQuery#constructorYongwoo Jeon2015-09-081-1/+1
| | | | | | (cherry-picked from 98cee73244d55910a1ac82bcf6cae04a7f650484) Closes gh-2441
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-084-16/+14
| | | | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. (cherry-picked from 224271982eb9cd351d7db1b38c740b4e927e6f97) Fixes gh-2555
* Serialize: Fix object detectionMichał Gołębiowski2015-09-081-1/+1
| | | | | | | | | | | jQuery.type doesn't just return "null" for null but also e.g. "array" for arrays instead of object so it's not really a typeof analogue. My suggestion was stupid. Sorry. (cherry-picked from 14c0fe44328f22debb5b531d2b671923658542b3) Refs 3d7ce0a65f0707ff01a851822e57ba80adcff075
* Serialize: Handle arrays with null valuesDaniel Nill2015-09-071-1/+1
| | | | | | (cherry-picked from 3d7ce0a65f0707ff01a851822e57ba80adcff075) Closes gh-2436
* Effects: Remove additional parameters of easingsThomas Tortorini2015-09-071-10/+5
| | | | | | | (cherry-picked from b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb) Fixes gh-2367 Closes gh-2376
* Ajax: do not quote "throws" option - use dot notation insteadOleg Gaidarenko2015-09-071-1/+1
| | | | | Ref c9cf250daafe806818da1dd207a88a8e94a4ad16 Fixes gh-2571
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-0790-635/+860
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Core: Support non-browser environmentsMichał Gołębiowski2015-08-1626-62/+100
| | | | | | | | | | | | Fixes gh-2133 Fixes gh-2501 Closes gh-2504 Refs gh-1950 Refs gh-1949 Refs gh-2397 Refs gh-1537 Refs gh-2504 Refs 842958e7aecd0d75a7ee9e2aaec83457701aa2f3
* Core:CSS: Attach test nodes to documentElement, not bodyMichał Gołębiowski2015-08-163-26/+6
| | | | | | | | | | | | Attaching test divs to document.documentElement instead of document.body used to cause issues in jQuery 1.x; jQuery Compat doesn't execute any tests on document ready, though so it could be aligned with master. This makes jQuery Compat support tests work correctly even if jQuery is included & used in head before body even exists - making it similar to the master behavior. Fixes gh-2502
* Event: Reduce differences from masterRichard Gibson2015-08-101-7/+6
|
* Core: Don't expose jQuery.accessMichał Gołębiowski2015-08-041-1/+1
| | | | | | | jQuery.access was never documented, there is no need to keep it exposed. Fixes gh-2513 Closes gh-2524
* Build: Add a comment explaining why the es3 option is neededMichał Gołębiowski2015-08-031-0/+3
| | | | | | | | | | | | It might not be obvious to everyone that IE 9 & Android 4.0 are not ES5-compliant browsers (by a large margin) so it's better to add a support comment. This requires slight changes in parsing the config file as it's not a pure JSON anymore. JSHint understands such files without problems. (cherry-picked from 669cb16d763cb5486dadd56ec15a17b2b0303571) Closes gh-2520
* Event: Update support comments for mouseenter/mouseleave implementationMichał Gołębiowski2015-07-271-7/+4
| | | | | | | | | | | Custom mouseenter/mouseleave implementation was needed because of: 1. Safari 6 not implementing mouseenter/mouseleave at all. 2. Chrome sending mouseenter too often. The second issue has been fixed in Chrome but exists now in Safari 7 (it's fixed in Safari 8) so we have to keep it for now, unfortunately. (cherry-picked from 2792845534e36c39dbb9c8369ed96aaefa560081)
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-272-1/+2
| | | | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. (cherry-picked from 93bee4701d14202045a88aab156da0daf9418430) Refs gh-2482
* Core: .each/.map should accept an undefined/null valueThomas Tortorini2015-07-271-11/+9
| | | | | | | (cherry-picked from bf48c21d225c31f0f9b5441d95f73615ca3dcfdb) Fixes gh-2267 Closes gh-2363
* Core: Add a support comment for Safari 8Michał Gołębiowski2015-07-201-0/+5
| | | | | | | | | | Related issue: https://bugs.webkit.org/show_bug.cgi?id=137337 Thanks @phistuck! (cherry-picked from d24275372624bac897c4131fd1507a58c09a1483) Refs cfe468f29c4cbe1a457d0feb17dec90dcfd7c280