aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Ajax: remove "onunload" event handlerOleg Gaidarenko2015-05-031-18/+3
| | | | | | | | | | Remove hack for IE lost connections, update for it was released by Microsoft at November 12, 2013. See https://support.microsoft.com/en-us/kb/2905733 Ref trac-5280 Ref gh-2047 Ref a117dd05f638a078c21dc57f19966f4ae81f98f0
* Event: add support commentOleg Gaidarenko2015-05-031-0/+7
| | | | | | (cherry-picked from 9db9316609c2881dbb6abc49efc3aa91a57a02ad) Ref gh-2047
* Event: remove guard for falsy handler argument of jQuery#on methodOleg Gaidarenko2015-05-031-2/+0
| | | | | | | | | | (cherry-picked from fac67a984268ef8f7de952666fda6d8d32754f5f) Since we don't have this in off method and its a common perception that this is a rudiment code Ref gh-2248 Closes gh-2249
* Manipulation: Make an HTML interception pointRichard Gibson2015-04-301-3/+6
| | | | | | | | | | | Fixes gh-1747 Closes gh-2203 (cherry picked from commit 225bde37c997f5ddd9fe00fdfb8e9a43545cfbbc) Conflicts: src/manipulation.js test/unit/manipulation.js
* Manipulation: Detect sneaky no-content replaceWith inputRichard Gibson2015-04-301-19/+21
| | | | | | | | | | | | | Fixes gh-2204 Ref 642e9a45579cfa90861b8ea71a95dd077775caaf Closes gh-1752 Closes gh-2206 (cherry picked from commit 4b27ae16a2b911f75b341b56d9d939bc65a9657a) Conflicts: src/manipulation.js test/unit/manipulation.js
* Core: add workaround for iOS JIT error in isArrayLikeTimmy Willison2015-04-291-1/+6
| | | | Fixes gh-2145
* Deferred: Always handle progress callbacks before done/failRichard Gibson2015-04-221-29/+32
| | | | | | | | Fixes gh-2013 Fixes gh-2010 Closes gh-2210 (cherry picked from commit 002240a6eb1cee2fcd886d5cf44893eb67f246f1)
* Attributes: remove unnecessary element null checkBastian Buchholz2015-04-201-1/+1
| | | | Close gh-2201
* Core: Follow the AMD specification for defineAlexander O'Mara2015-04-131-1/+1
| | | | | | AMD specification requires the factory argument be defined. Close gh-2179
* CSS: Don't expose jQuery.swapMichał Gołębiowski2015-04-132-10/+6
| | | | | | | | | jQuery.swap was an undocumented API used only internally. With the modular AMD system we currently have it's not necessary to expose this function publicly under the jQuery object. Fixes gh-2058 Closes gh-2182
* Attributes: revert returning null for non-existant attributesTimmy Willison2015-03-301-1/+6
| | | | Ref https://github.com/jquery/jquery/issues/2118
* Wrap: Support .unwrap( selector) for selective unwrappingDave Methvin2015-03-301-6/+5
| | | | | | Fixes gh-1744 Closes gh-2003 (cherry picked from commit 7b09235ceed57bbcc26fc2c76147eb4e95ebdb92)
* Deferred: Backwards-compatible standards interoperabilityRichard Gibson2015-03-201-29/+222
| | | | | | | Fixes gh-1722 Closes gh-1996 (cherry picked from commit 555a50d340706e3e1e0de09231050493d0ad841e)
* Attributes: revert returning null for non-elementsTimmy Willison2015-03-161-1/+1
|
* Attributes: fix failing test for new return valueTimmy Willison2015-03-161-1/+1
|
* Attributes: return null when attribute does not existWinston Howes2015-03-161-6/+1
| | | | | | | | Fixes gh-2118 Close gh-2129 Conflicts: test/unit/attributes.js
* CSS: Support relative adjustment in any applicable unitMr212015-03-094-61/+83
| | | | | | | | | | | Fixes gh-1711 Closes gh-2011 (cherry picked from commit 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17) Conflicts: src/css.js src/effects.js
* Build: remove deprecated JSHint optionsStephen Edgar2015-03-081-3/+0
| | | | | | | | (cherry-picked from 34da7d552982d8ab7b18c2ceca9786d5023930f6) JSHint no longer supports `onevar`, `smarttabs` or `trailing` options. Closes gh-2029
* Event: correct support commentOleg Gaidarenko2015-03-081-1/+3
| | | | | | | (cherry-picked from 361a0d5150a1c57b1857611cde1b05bd0ef21a50) See discussion in https://github.com/jquery/jquery/commit/a5e1c9b44c971fd7046d9a95bd0810e50840b663
* Core: change jQuery.each and jQuery#each signaturesOleg Gaidarenko2015-02-191-31/+10
| | | | | | (cherry-picked from 2380028ec4a6a77401b867a51de26a3cb8e8d311) Fixes gh-2090 Closes gh-2097
* Ajax: remove use of jQuery#each second argumentOleg Gaidarenko2015-02-191-1/+3
| | | | | (cherry-picked from a4715f4216ace92fba6991106053415e66289686) Ref gh-2090
* Ajax: remove deprecated extensions from ajax promiseOleg Gaidarenko2015-02-171-6/+4
| | | | | | (cherry-picked from 9d1b989f20b550af3590691723b0620f6914626e) Fixes gh-2084 Closes gh-2092
* Ajax: move explanatory comment to appropriate placeOleg Gaidarenko2015-02-151-2/+2
| | | | Ref 4b3e63066dd480d07b9ce8057cb0c02b8ad7e990
* Ajax: replace "jqXHR.complete" callback with "always"Oleg Gaidarenko2015-02-151-1/+4
| | | | | | | | | | Since it was deprecated since 1.8. Also add additional comments which explains tricky behaviour of "always" callback (cherry-picked from 97ef1f2612a9c5bd453d34146fdfd552cf9cee67) Closes gh-2033
* Ajax: make jQuery#load "type" field explicitOleg Gaidarenko2015-02-151-2/+4
| | | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264 Ref 4ef120d3f2578fe3d52eb6c0d0641df945991391
* Ajax: simplify one ajax call and add explanatory commentOleg Gaidarenko2015-02-152-2/+2
| | | | | | | | | * Remove "async = true" from script transport since it was needed for FF < 4 and old Opera which we do not support anymore * Add comment to "evalUrl" method on why "type" field should be explicit Ref 0ac28ed293681cb8f2e9fdd11efa0021da039c84
* Manipulation: don't auto-insert tbodyOleg Gaidarenko2015-02-111-5/+6
| | | | | | Fixes gh-1835 Closes gh-2021 Ref e984d1c79cc476062818e03df04a366baa13d197
* Manipulation: simplify html wrappersOleg Gaidarenko2015-02-111-3/+14
| | | | | | | | | | Take advantage of html serialization for html wrappers - saves 26 bytes Plus add additional test for "col" element (cherry-picked from 0ea342a6a6dce793c1b0f14f051c2573f40f4e44) Closes gh-2031 Fixes gh-2002
* Manipulation: simplification of manipulation wrappersOleg Gaidarenko2015-02-101-2/+3
| | | | | | | | Since support for IE6-7 was dropped these wrappers no longer required Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278 Ref gh-2002 Closes gh-2032
* CSS: Fix the pixelMarginRight support test in IE8Michał Gołębiowski2015-02-081-1/+1
|
* CSS: Add a support test for the hack for .css('marginRight') etc.Michał Gołębiowski2015-02-052-20/+35
| | | | | | | | | | | | | This hack turns out to be needed by Android 4.0-4.3. Add a support test so that the hack is invoked only where needed. Refs 3747cc642a48d2a5a8ac83069f66bddd33bea301 Refs gh-1815 Refs gh-1820 Refs gh-1842 Closes gh-2061
* Event: Add a note about a mouseenter bug in ChromeMichał Gołębiowski2015-01-251-0/+8
| | | | | | | Also, add a support comment about older Safari. Refs https://code.google.com/p/chromium/issues/detail?id=333868 Partially cherry-picked from a5e1c9b44c971fd7046d9a95bd0810e50840b663
* Core: Return empty array instead of null for parseHTML("")Timo Tijhof2015-01-191-2/+2
| | | | | | | | Fixes gh-1997 Close gh-1998 Conflicts: test/unit/core.js
* Event: HTML5 drop events inherit from MouseEventDave Methvin2015-01-141-1/+1
| | | | | | | | | Fixes gh-2009 Ref gh-1925 (cherry picked from commit d7e5fcee519e5f3e840beef9e67a536e75133df9) Conflicts: test/unit/event.js
* Offset: simplify jQuery#offsetParent methodOleg Gaidarenko2015-01-131-3/+13
| | | | | | | | | | | | * It seems, check for html element (and previously for body element) was redundant * Simplify "return" statement * Add comment about potential errors that didn't find themselves in real life app Ref 74ae5444832b2fb966768a97281d2ad8c088bc58
* Manipulation: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-2/+2
| | | | | Ref #1987 Ref 85ffc6d973865a031ded170934e0acfc2e97cb11
* Core: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-1/+1
| | | | | Ref #1987 Ref 534f13025aeb59a7d5893ce62efafa0b066a4934
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-113-18/+3
| | | | | | Fixes gh-1908 Closes gh-2000 (cherry picked from commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8)
* Ajax: $.post and $.get can now take an options objectGeorge Mauer2015-01-111-2/+3
| | | | | | Fixes gh-1986 Closes gh-1995 (cherry picked from commit 89ce0af2cf7f001647e74fc1de92ce94a51fd5c2)
* Core: Standardize indexOf comparisonsRichard Gibson2015-01-107-10/+11
| | | | | | | | | | not present: `< 0` present: `> -1` at index: `=== N` (cherry picked from commit 53aa87f3bf4284763405f3eb8affff296e55ba4f) Closes gh-1985
* Callbacks: Reduce sizeRichard Gibson2015-01-101-82/+74
|
* Callbacks: Don't abort execution on .lock()Richard Gibson2015-01-101-1/+1
| | | | | Fixes gh-1990 Closes gh-1991
* Callbacks: No object starts out lockedRichard Gibson2015-01-101-6/+29
| | | | Fixes gh-1989
* Event: Normalize mouse event properties in drag eventsAditya Raghavan2015-01-051-1/+1
| | | | | | | | DragEvent is a superset of MouseEvent, so we want to fix up mouse properties like pageX and pageY. Fixes gh-1925 (cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)
* Build: Remove dates from copyright noticeAnne-Gaelle Colom2015-01-031-1/+1
| | | | | | | | Closes gh-1983 (cherry picked from commit 66e1b6b8d49812239b5712d65922ff94c60f7b02) Conflicts: Gruntfile.js
* Event: Add reference to data moduleNorman Xu2014-12-311-1/+1
| | | | | | | Since we are using _data() quite a lot in event module and drop data/accepts as there is no direct reference Ref gh-1948
* Deferred: Fix $.when with resolved deferred and progress callbacksNicolas HENRY2014-12-251-2/+2
| | | | Ref ab20d9d24f0a95df382c02e9ef3dcc4adb86e4f1
* CSS: simplify hack of css getter for the computed valuesOleg Gaidarenko2014-12-241-10/+2
| | | | Ref gh-1906
* CSS: simplify "defaultDisplay" moduleOleg Gaidarenko2014-12-241-1/+1
| | | | | Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278 Ref gh-1961
* Traversing: simplify jQuery#contents methodOleg Gaidarenko2014-12-241-3/+1
| | | | | Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278 Ref gh-1961