Richard Gibson
34f2563179
Deferred: Backwards-compatible standards interoperability
...
Fixes gh-1722
Closes gh-1996
(cherry picked from commit 555a50d340 )
2015-03-20 02:14:04 -04:00
Timmy Willison
a403655491
Attributes: revert returning null for non-elements
2015-03-16 14:12:00 -04:00
Timmy Willison
17bd6e9cf9
Attributes: fix failing test for new return value
2015-03-16 11:54:43 -04:00
Winston Howes
afca031826
Attributes: return null when attribute does not exist
...
Fixes gh-2118
Close gh-2129
Conflicts:
test/unit/attributes.js
2015-03-16 11:54:33 -04:00
Mr21
6fb2cefc60
CSS: Support relative adjustment in any applicable unit
...
Fixes gh-1711
Closes gh-2011
(cherry picked from commit 9b03f6df88 )
Conflicts:
src/css.js
src/effects.js
2015-03-09 13:31:11 -04:00
Stephen Edgar
9edd95ffd7
Build: remove deprecated JSHint options
...
(cherry-picked from 34da7d5529 )
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.
Closes gh-2029
2015-03-08 06:30:41 +03:00
Oleg Gaidarenko
fae2daadaa
Event: correct support comment
...
(cherry-picked from 361a0d5150 )
See discussion in
a5e1c9b44c
2015-03-08 06:25:01 +03:00
Oleg Gaidarenko
7cd9a36322
Core: change jQuery.each and jQuery#each signatures
...
(cherry-picked from 2380028ec4 )
Fixes gh-2090
Closes gh-2097
2015-02-19 11:31:55 +03:00
Oleg Gaidarenko
08777336be
Ajax: remove use of jQuery#each second argument
...
(cherry-picked from a4715f4216 )
Ref gh-2090
2015-02-19 11:31:39 +03:00
Oleg Gaidarenko
9368a8cd8c
Ajax: remove deprecated extensions from ajax promise
...
(cherry-picked from 9d1b989f20 )
Fixes gh-2084
Closes gh-2092
2015-02-17 09:59:22 +03:00
Oleg Gaidarenko
04fc801217
Ajax: move explanatory comment to appropriate place
...
Ref 4b3e63066d
2015-02-15 02:27:54 +03:00
Oleg Gaidarenko
fd80f5970f
Ajax: replace "jqXHR.complete" callback with "always"
...
Since it was deprecated since 1.8.
Also add additional comments which explains tricky
behaviour of "always" callback
(cherry-picked from 97ef1f2612 )
Closes gh-2033
2015-02-15 02:06:34 +03:00
Oleg Gaidarenko
1d3d2b1aa6
Ajax: make jQuery#load "type" field explicit
...
* Move "evalScript.php" file to appropriate place
* Make jQuery#load "type" field explicit and add test for it
Ref trac-11264
Ref 4ef120d3f2
2015-02-15 02:03:32 +03:00
Oleg Gaidarenko
4b3e63066d
Ajax: simplify one ajax call and add explanatory comment
...
* 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 0ac28ed293
2015-02-15 02:03:20 +03:00
Oleg Gaidarenko
939e755163
Manipulation: don't auto-insert tbody
...
Fixes gh-1835
Closes gh-2021
Ref e984d1c79c
2015-02-11 17:11:15 +03:00
Oleg Gaidarenko
b744a50d47
Manipulation: simplify html wrappers
...
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element
(cherry-picked from 0ea342a6a6 )
Closes gh-2031
Fixes gh-2002
2015-02-11 00:46:12 +03:00
Oleg Gaidarenko
3e8712062d
Manipulation: simplification of manipulation wrappers
...
Since support for IE6-7 was dropped these wrappers no longer required
Ref 90d7cc1d8b
Ref gh-2002
Closes gh-2032
2015-02-10 23:23:24 +03:00
Michał Gołębiowski
4a67512f8b
CSS: Fix the pixelMarginRight support test in IE8
2015-02-08 02:03:17 +01:00
Michał Gołębiowski
25bc6809c5
CSS: Add a support test for the hack for .css('marginRight') etc.
...
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 3747cc642a
Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061
2015-02-05 02:46:10 +01:00
Michał Gołębiowski
f3e3a208de
Event: Add a note about a mouseenter bug in Chrome
...
Also, add a support comment about older Safari.
Refs https://code.google.com/p/chromium/issues/detail?id=333868
Partially cherry-picked from a5e1c9b44c
2015-01-25 01:13:04 +01:00
Timo Tijhof
61bb61279c
Core: Return empty array instead of null for parseHTML("")
...
Fixes gh-1997
Close gh-1998
Conflicts:
test/unit/core.js
2015-01-19 11:41:32 -05:00
Dave Methvin
a05de404d8
Event: HTML5 drop events inherit from MouseEvent
...
Fixes gh-2009
Ref gh-1925
(cherry picked from commit d7e5fcee51 )
Conflicts:
test/unit/event.js
2015-01-14 14:45:44 -05:00
Oleg Gaidarenko
96447575c2
Offset: simplify jQuery#offsetParent method
...
* 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 74ae544483
2015-01-13 08:40:00 +03:00
Leonardo Braga
5d522f5c74
Manipulation: add support to tag-hyphenated elements
...
Ref #1987
Ref 85ffc6d973
2015-01-13 07:54:37 +03:00
Leonardo Braga
f19595cef4
Core: add support to tag-hyphenated elements
...
Ref #1987
Ref 534f13025a
2015-01-13 07:48:33 +03:00
Dave Methvin
e2ec5da2a7
Core: Remove deprecated context and selector properties
...
Fixes gh-1908
Closes gh-2000
(cherry picked from commit 0ea8c32863 )
2015-01-11 21:14:22 -05:00
George Mauer
26150f0910
Ajax: $.post and $.get can now take an options object
...
Fixes gh-1986
Closes gh-1995
(cherry picked from commit 89ce0af2cf )
2015-01-11 20:47:20 -05:00
Richard Gibson
6ae222a54f
Core: Standardize indexOf comparisons
...
not present: `< 0`
present: `> -1`
at index: `=== N`
(cherry picked from commit 53aa87f3bf )
Closes gh-1985
2015-01-10 23:56:39 -05:00
Richard Gibson
18baae2efb
Callbacks: Reduce size
2015-01-10 22:17:27 -05:00
Richard Gibson
fc7477f492
Callbacks: Don't abort execution on .lock()
...
Fixes gh-1990
Closes gh-1991
2015-01-10 21:25:00 -05:00
Richard Gibson
f5a8c649b5
Callbacks: No object starts out locked
...
Fixes gh-1989
2015-01-10 21:24:35 -05:00
Aditya Raghavan
5b0b1b77db
Event: Normalize mouse event properties in drag events
...
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)
2015-01-05 15:30:32 -05:00
Anne-Gaelle Colom
a0bf5bf710
Build: Remove dates from copyright notice
...
Closes gh-1983
(cherry picked from commit 66e1b6b8d4 )
Conflicts:
Gruntfile.js
2015-01-03 16:11:22 -05:00
Norman Xu
2866da9e12
Event: Add reference to data module
...
Since we are using _data() quite a lot in event module
and drop data/accepts as there is no direct reference
Ref gh-1948
2014-12-31 17:43:03 +03:00
Nicolas HENRY
efb98f85ba
Deferred: Fix $.when with resolved deferred and progress callbacks
...
Ref ab20d9d24f
2014-12-25 15:48:57 +03:00
Oleg Gaidarenko
dac716ca65
CSS: simplify hack of css getter for the computed values
...
Ref gh-1906
2014-12-24 02:46:09 +03:00
Oleg Gaidarenko
d9d8906cfd
CSS: simplify "defaultDisplay" module
...
Ref 90d7cc1d8b
Ref gh-1961
2014-12-24 02:46:04 +03:00
Oleg Gaidarenko
7230df15ac
Traversing: simplify jQuery#contents method
...
Ref 90d7cc1d8b
Ref gh-1961
2014-12-24 02:45:56 +03:00
Oleg Gaidarenko
3dcee02160
Manipulation: make wrapAll funarg execute only once
...
Ref 359b03cac7
2014-12-24 01:58:39 +03:00
Ben Toews
de7ae8cd17
Ajax: use anchor tag for parsing urls
...
Fixes gh-1875
Closes gh-1880
(cherry picked from commit 5a75278e4c5359e07303fc4d8e78a1cf94f6ad65)
Conflicts:
src/ajax.js
2014-12-11 15:47:23 -05:00
Jason Bedard
9d1d90e7a2
Data: use removeAttribute in cleanData to bypass Chrome bug
...
Related:
https://code.google.com/p/chromium/issues/detail?id=378607
Fixes gh-1664
2014-12-10 11:47:54 -05:00
Timmy Willison
57652eecd9
Build: fix tests in AMD mode
2014-12-10 10:18:59 -05:00
Timmy Willison
828a718aa0
Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left out
...
Close gh-1506
2014-12-10 10:08:04 -05:00
Dave Methvin
51564bbd39
Event: Empty namespaces should be uneventfully ignored
...
Thanks @hamishdickson for the report!
Closes gh-1769
(cherry picked from commit 8653068dd6 )
2014-12-09 20:10:56 -05:00
Daniel Husar
4cc4e54298
Core: Simplify and speed up .each
...
Closes gh-1510
(cherry picked from commit eeda11cdd6 )
2014-12-09 01:47:40 -05:00
Michał Gołębiowski
aec41a5c41
Attributes: Simplify the option val hook; backport a test from master
...
The hook is still defined; not using it could cause issues in IE<11.
Backport the test from the master branch.
Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.
(cherry-picked from f6302b0b53 )
Fixes gh-1902
Closes gh-1901
2014-12-08 22:51:55 +01:00
Michał Gołębiowski
90d7cc1d8b
Misc: Drop support for older browsers; update support comments
...
That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
2014-12-08 21:12:33 +01:00
Dave Methvin
61df648651
Callbacks: Disabling a callback should prevent firing
...
Thanks to @TheDistantSea for the report!
Fixes gh-1790
Closes gh-1643
(cherry picked from commit bc1cb122db )
2014-12-07 21:00:45 -05:00
Dave Methvin
faf295a6d8
Manipulation: Plug an IE8 memory leak in noCloneEvent feature detect
...
Fixes gh-1840
This feature detect could be simplified now that the only supported browser
with this problem is IE8.
2014-12-06 16:56:41 -05:00
Dave Methvin
a90ff8c8c7
Event: Copy detail property to jQuery.Event on native events
...
Fixes gh-1867
(cherry picked from commit d9ed166c86 )
Conflicts:
test/unit/event.js
2014-12-03 16:01:40 -05:00