aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-161-1/+1
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* Manipulation: Remove an internal argument to the remove methodMichał Gołębiowski2015-06-141-25/+29
| | | | | Fixes gh-2301 Closes gh-2366
* Event: Remove an internal argument to the on methodMichał Gołębiowski2015-06-141-51/+55
| | | | Refs gh-2301
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-131-0/+10
| | | | | | | | | | Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } Fixes gh-1693
* Event: remove preDispatch hook & simplify "simulate" signatureOleg Gaidarenko2015-06-051-7/+4
| | | | Closes gh-2358
* CSS: Don't name the anonymous swap functionMichał Gołębiowski2015-06-011-1/+1
| | | | | | | | | | | | IE8 doesn't like named anonymous expressions. Not naming the function expression reduces the gzipped size by 5 bytes. In ECMAScript 2015 the function will get the name inferred from the variable name (here: swap) anyway. (cherry-picked from e847574fc755b5339f3de41bcebd5b2a3e140cfe) Refs 02a9d9f94b623ea8664b7b39fd57feb7de6c6a14
* Ajax: Remove remnants of the load event alias handlingMichał Gołębiowski2015-06-011-10/+1
| | | | | | Refs 0705be475092aede1eddae01319ec931fb9c65fc Refs gh-2287 Closes gh-2362
* CSS: Don't cache unrecognized CSS property namesMichał Gołębiowski2015-06-011-11/+10
| | | | | | | | | | | | | | | | | This prevents jQuery from caching a prefixed property name if provided directly by the user, e.g. the following code: elem.css( "msTransform", "translate(5px, 2px)" ); should not prevent one from from later setting the transition directly: elem.css( "transform", "translate(5px, 2px)" ); on a browser not understanding the unprefixed version which is the case for Safari 8 & transform. Fixes gh-2015 Closes gh-2298
* Event: remove outdated originalEvent hackOleg Gaidarenko2015-05-291-7/+13
| | | | | Closes gh-2335 Ref 7475d5debeb7c53158921ed40f6c2fdb25a2cc86
* Event: Remove fake originalEvent from jQuery.Event.simulateGabriel Schulhof2015-05-291-2/+6
| | | | | Fixes gh-2300 Closes gh-2303
* Event: remove deprecated event aliasesOleg Gaidarenko2015-05-191-2/+2
| | | | | | Fixes gh-2286 Closes gh-2287 Ref trac-11733