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
Dave Methvin
93f95c9663
Core: Throw an error on $("#") rather than returning 0-length collection
...
Closes gh-1682
Thanks @goob for the issue report!
(cherry picked from commit 80022c81ce
)
2014-12-03 14:55:33 -05:00
Bin Xin
bc1902ddc0
Manipulation: support data-URI scripts insertion
...
Ref 15f4dec789
2014-12-03 05:35:20 +03:00
Dave Methvin
fa70df692e
CSS: Clean up memory leak in reliableMarginRight
...
Fixes gh-1795
Closes gh-1893
Thanks for the report flexphperia!
(cherry picked from commit 7d15b4d1f1
)
Conflicts:
src/css/support.js
2014-12-02 15:18:03 -05:00
Oleg Gaidarenko
1eedf0e9ea
Dimensions: allow modification of coordinates argument
...
Ref f7e60dc83d
2014-11-16 18:06:39 +03:00
Zheming Sun
c5e8e12cef
CSS: Fix get upper case alpha opacity in IE8
...
Fixes gh-1705
Closes gh-1704
2014-11-08 17:43:33 +01:00
Michał Gołębiowski
8cd6875935
Build: Put "jQuery Compat" in banners in built files
2014-11-03 23:32:56 +01:00
Dan Hart
73c1ceaf42
Ajax: Fix for request aborted in ajaxSend
...
Fixes gh-1775
Close gh-1619
2014-11-01 12:48:12 -04:00
Arthur Verschaeve
e4cbc973d5
Change broken url to wayback one
2014-10-30 10:28:33 -04:00
Michał Gołębiowski
f1913cf031
Deprecated: Drop size and andSelf methods
...
(cherry-picked from f110360f65
)
Fixes gh-1749
Closes gh-1822
2014-10-30 14:09:34 +01:00
Oleg Gaidarenko
c580a52971
Ajax: remove event dependency from the ajax module
...
Ref 4e7f34f629
2014-10-14 21:25:12 +04:00
Alexander Farkas
a9533893b9
Manipulation: Update html5shiv elements
...
Include main, dialog, picture and template in html5shiv elements.
Fixes #15241
Closes gh-1655
2014-09-13 15:32:50 -05:00
Daniel Herman
d4a998f62f
Event: Restore the constructor
property on jQuery.Event prototype
...
The original definition of the jQuery.Event prototype was paving over the
`constructor` property which was causing jQuery.isPlainObject to
improperly report that an instance of jQuery.Event was a plain object.
Fixes #15090
Closes gh-1580
(cherry picked from commit b807aedb7f
)
2014-09-04 03:29:16 -04:00
Oleg Gaidarenko
787ffbf5fa
CSS: Correct typo in the comment
2014-09-03 00:20:41 +04:00
Oleg Gaidarenko
b05b6a2219
CSS: Use pre-defined displays for html and body
...
Ref 60f546acb1
Ref 274feb53cc
Ref a7724186c9
2014-09-03 00:13:29 +04:00
Nazar Mokrynskyi
44c9c4f751
CSS: Remove use of getDefaultComputedStyle
...
Remove optimization to make jQuery compatible with Google's Polymer project
Ref 274feb53cc
2014-09-02 23:35:18 +04:00
Chris Antaki
835e8c4ae3
Core: Drop strundefined variable
...
Ref 29838b6cab
Closes gh-1628
2014-09-02 20:35:49 +04:00
Aurelio De Rosa
b59b819ffe
CSS: Removed redundant "to the number" in comment
...
Ref 895ea6887d
2014-09-02 20:14:01 +04:00
Timmy Willison
7b9b98d6e3
CSS: elements are hidden when either offsetWidth or offsetHeight is zero
...
- Note: this is a breaking change that has been delayed for several versions.
Fixes #10406
Fixes #13132
Conflicts:
src/css/hiddenVisibleSelectors.js
2014-07-17 17:33:29 -07:00
Timmy Willison
91e06e9aeb
Build: update grunt-jscs-checker and pass with the new rules
...
Conflicts:
build/tasks/build.js
src/ajax/xhr.js
src/attributes/classes.js
src/attributes/prop.js
src/attributes/val.js
src/core/init.js
src/core/ready.js
src/css.js
src/css/curCSS.js
src/css/defaultDisplay.js
src/data.js
src/data/var/dataPriv.js
src/data/var/dataUser.js
src/dimensions.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/queue.js
src/selector-native.js
test/data/testrunner.js
2014-07-17 11:08:37 -07:00
Chris Antaki
e38a94a61c
Ajax: Add support comment and fix code style issue
...
Closes gh-1600
Ref e5190982c4
Ref #8138
2014-07-13 00:38:37 +04:00