aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-181-5/+2
| | | | Ref gh-2491
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-181-54/+22
| | | | | Fixes gh-2491 Close gh-2618
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-182-24/+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
* Deprecated: fix amd mode for the deprecated moduleTimmy Willison2015-10-181-1/+3
|
* Core: make isNumeric test work on SymbolLiza Ramo2015-10-171-1/+2
| | | | | Ref #2645 Closes #2657
* 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. Closes gh-2627
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-122-4/+4
| | | | | Fixes gh-2584 Closes gh-2643
* Ajax: correct indentationOleg Gaidarenko2015-10-121-3/+3
| | | | | | As noted by @arthurvr Follow-up for b078a62013782c7424a4a61a240c23c4c0b42614
* 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 Closes gh-2613 Closes gh-2601
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-122-18/+22
| | | | | Fixes gh-2288 Closes gh-2624
* Ajax: Mitigate possible XSS vulnerabilityOleg Gaidarenko2015-10-122-1/+8
| | | | | | | Proposed by @jaubourg Fixes gh-2432 Closes gh-2588
* Manipulation: Don't provide the parser with sloppy table markupAnthony Ryan2015-09-141-13/+6
| | | | | | | | | | | | | | | | | 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." Reverts 0ea342a6a6dce793c1b0f14f051c2573f40f4e44 Refs gh-2031 Refs gh-2002 Fixes gh-2493 Closes gh-2499
* Data: Combine register and cache methodsJason Bedard2015-09-141-33/+27
| | | | Closes gh-2553
* Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 supportMichał Gołębiowski2015-09-146-57/+5
| | | | | | | | Drop non-critical workarounds for Android 2.3. Fixes gh-2483 Fixes gh-2505 Closes gh-2581
* Data: avoid using delete on DOM nodesJason Bedard2015-09-082-7/+21
| | | | Closes gh-2479
* 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/ 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. Fixes gh-2512 Closes gh-2525
* Effects: Finish should call progressThomas Tortorini2015-09-081-0/+1
| | | | | Fixes gh-2283 Closes gh-2292
* Core: Remove unnecessary parameter to jQuery#constructorYongwoo Jeon2015-09-081-1/+1
| | | | Closes gh-2441
* Data: do not create data cache when fetching single propertyJason Bedard2015-09-081-4/+2
| | | | Closes gh-2554
* Build: put back "lint" command to the "dev" listOleg Gaidarenko2015-09-081-0/+1
| | | | | | Also fix lint error in `data` module. It seems this command was removed from the list during merge
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-084-18/+13
| | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. Fixes gh-2555
* Serialize: Fix object detectionMichał Gołębiowski2015-09-071-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. Refs 3d7ce0a65f0707ff01a851822e57ba80adcff075
* Serialize: Handle arrays with null valuesDaniel Nill2015-09-071-1/+1
| | | | Closes gh-2436
* Effects: Remove additional parameters of easingsThomas Tortorini2015-09-071-10/+5
| | | | | Fixes gh-2367 Closes gh-2376
* Ajax: do not quote "throws" option - use dot notation insteadOleg Gaidarenko2015-09-071-1/+1
| | | | | Fixes gh-2571 Closes gh-2542
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-0790-603/+786
| | | | Fixes gh-2056
* Event: Only check elements for delegation matchesRichard Gibson2015-08-101-1/+2
| | | | | | Closes gh-2529 Ref trac-13208 (cherry picked from commit fc2ba2e1361126c39f955437ee025cfca3bffa65)
* Core: Don't expose jQuery.accessMichał Gołębiowski2015-08-031-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. Closes gh-2520
* Data: remove user data in cleanDataJason Bedard2015-07-281-10/+15
| | | | | Fixes gh-2503 Closes gh-2480
* 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.
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-272-2/+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. Refs gh-2482
* Core: .each/.map should accept an undefined/null valueThomas Tortorini2015-07-271-11/+9
| | | | | 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! Refs cfe468f29c4cbe1a457d0feb17dec90dcfd7c280
* Build: Acknowledge Android 2.3 is not ES5-compatibleMichał Gołębiowski2015-07-201-0/+3
| | | | | | | | | | | Android 2.3 chokes on unquoted reserved words being used as property names which was making Deferred tests not run. Acknowledge the sad fact that Android 2.3 is not ES5-compliant browser and enable the "es3" option in JSHint config. Fixes gh-2478 Closes gh-2481
* Selector: Define jQuery.uniqueSort in selector-native tooMarek Lewandowski2015-07-141-22/+24
| | | | | Fixes gh-2466 Closes gh-2467
* Ajax: Remove jsonp callbacks through "jQuery#removeProp" methodOleg Gaidarenko2015-07-131-2/+8
| | | | | Fixes gh-2323 Closes gh-2464
* CSS: Make .css("width") & .css("height") return fractional valuesMichał Gołębiowski2015-07-071-9/+17
| | | | | Fixes gh-1724 Closes gh-2439
* Deferred: add .catch handlerTimmy Willison2015-07-061-0/+3
| | | | Fixes gh-2102
* CSS: Improve a comment explaining IE11 fullscreen bugMichał Gołębiowski2015-07-011-1/+2
|
* Effects: Adding unit tests for jQuery.AnimationCorey Frang2015-06-261-18/+26
| | | | Closes gh-2326
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-262-4/+7
|
* CSS: make the getStyles function more readableThomas Tortorini2015-06-251-3/+6
| | | | | | | The new version is not only simpler to read but also smaller by 6 bytes gzipped. Closes gh-2393
* Core: organize prop & attr code to be similarGilad Peleg2015-06-232-54/+56
| | | | Closes gh-2384
* CSS: Work around an IE11 fullscreen dimensions bugMartin Naumann2015-06-231-0/+11
| | | | | Fixes gh-1764 Closes gh-2401
* Core: Switch from modules to just window.setTimeout etc.Michał Gołębiowski2015-06-179-37/+14
| | | | | | Using modules for window.setTimeout etc. made those functions cached and disabled Sinon mocking, making effects tests fail. Just writing window.setTimeout directly is smaller anyway.
* Core: Use window.setTimeout & friends instead of global equivalentsMichał Gołębiowski2015-06-1710-9/+28
| | | | Fixes gh-2177
* Offset: return before getBoundingClientRect to avoid error in IE8-11Timmy Willison2015-06-161-2/+9
|
* Offset: return zeros for disconnected/hidden elementsTimmy Willison2015-06-161-1/+4
| | | | | Fixes gh-2310 Close gh-2396