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
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
Timo Tijhof
eeab75da00
Core: Consistently use local reference to access()
...
Ref 2fb719e5aa
Ref 2063d6c189
2014-07-13 00:37:54 +04:00
Scott González
72e6192517
Build: Move all external libraries to external directory
...
Closes gh-1593
Conflicts:
Gruntfile.js
test/index.html
2014-06-25 13:48:49 -04:00
Scott González
62f7f7be9b
Build: Remove unused Sizzle test files
2014-06-25 13:45:21 -04:00
Oleg Gaidarenko
9dc29a2b13
Effects: Improve raf logic
...
* Make animation behave as if jQuery.fx.off = true if document is hidden
* Use cancelAnimationFrame in jQuery.fx.stop
Ref 708764f47b
2014-06-16 03:21:53 +04:00
Oleg Gaidarenko
06a4540696
Effects: Reintroduce use of requestAnimationFrame
...
Same as before, just use don't use prefixes, since they pretty match useless now
and use page visibility API to determine if animation should start.
Also null the requestAnimationFrame attribute in window for tests since
sinon does not provide fake method for it.
Fixes #15147
Ref 72119e0023
2014-06-16 03:21:48 +04:00
Oleg Gaidarenko
37f0f7f42c
Ajax: Always use script injection in globalEval
...
Fixes #14757
Ref bbdfbb4ee8
2014-06-16 03:21:39 +04:00
Oleg Gaidarenko
76294e1e9e
CSS: Do not throw on frame elements in FF
...
IE9-10 throws on elements created in popups (see #14150 ), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098 )
Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.
And everybody wins, except performance, but who cares right?
Fixes #15098
Ref e488d985cf
2014-06-16 03:21:34 +04:00
Richard Gibson
b6e99eb43c
Core: Work around loss of precision from parseFloat
...
Fixes #15100
2014-06-07 14:22:49 -04:00
TJ VanToll
6cb17c8ea4
Wrap: Declare a dependency on the manipulation module
...
Fixes #15121
Closes gh-1589
2014-06-02 16:44:22 -04:00
TJ VanToll
479e37f436
Ajax: Support usage without jQuery.event
...
Fixes #15118
Closes gh-1588
2014-06-02 16:41:00 -04:00
Timmy Willison
8530a2fc72
Ajax: move ajax event aliases to their own file
...
Fixes #15126
2014-06-02 12:41:24 -04:00
Dave Methvin
062a7d63e4
Data: Work around IE11 bug with onpageshow attribute
...
Fixes #14894
(cherry picked from commit b8133e282c
)
Conflicts:
src/data.js
test/unit/data.js
2014-04-30 11:00:14 -04:00
Oleg Gaidarenko
f833c9af57
Effects: Respect display value on inline elements
...
Take "olddisplay" value into the account
Fixes #14824
Closes gh-1566
Ref 73fe17299a
(cherry-picked from c34dbf5a8d
)
Conflicts:
src/effects.js
2014-04-30 17:14:22 +04:00
Richard Gibson
12104f0401
Selector: Update Sizzle to 1.10.19
...
Fixes #14901
Fixes #14793
(cherry picked from commit 90b43de212
)
2014-04-18 17:19:04 -04:00
Christian Kosmowski
90c50ef961
Dimensions: Reverse a check to avoid potential reflows
...
Fixes #14979
Closes gh-1560
(cherry picked from commit 1ca84214cc
)
Conflicts:
AUTHORS.txt
2014-04-18 10:10:11 -04:00
Richard Gibson
8072d25e6f
Effects: Fix inline element animations
...
Ref 80cf965e02
Ref #14848
2014-03-24 12:36:15 -04:00
Michał Gołębiowski
10d7d5ce9d
Css: change boxSizingReliable in IE<9.
...
Change boxSizingReliable test value to false in all IE versions.
Modify support comments to argument getComputedStyle guards
with oldIE support and not node.js which is not supported in 1.x.
Closes gh-1498
2014-03-21 08:30:41 -04:00
Michał Gołębiowski
98b5275c12
Event: Remove redundant fallback to getPreventDefault()
...
Android 2.3 is happy with returnValue already used for oldIE;
the getPreventDefault() fallback is not needed.
Closes gh-1546
2014-03-20 23:10:36 -04:00
Richard Gibson
80cf965e02
Effects: Don't overwrite display:none when .hide()ing hidden elements
...
Fixes #14848
Closes gh-1548
(cherry picked from commit 890d441aa5
)
Conflicts:
src/effects.js
2014-03-20 23:01:39 -04:00
Oleg Gaidarenko
6dcca6da36
CSS: jQuery#hide should always save display value
...
Fixes #14750
Closes gh-1509
(cherry picked from commit 5a8f769332
)
Conflicts:
src/css.js
2014-03-20 22:47:35 -04:00
John Hoven
9ec429cf62
Attributes: Trim whitespace from option text when returned as a value
...
Fixes #14858
Ref #14686
Closes gh-1531
2014-03-20 15:44:09 -04:00
Rodrigo Rosenfeld Rosas
5a1db91bf3
CSS: window.getDefaultComputedStyle may return null
...
Fixes #14736
Closes gh-1501
(cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
2014-03-20 14:44:25 -04:00
Benjy Cui
17d8df8eec
Core: Fix comments for .get() method
...
Closes gh-1547
(cherry picked from commit ca0086b55a
)
2014-03-20 12:52:22 -04:00
louisremi
64d7c168c8
Event: Treat Pointer events like mouse events, #14741
...
Ref #14741
Ref gh-1503
(cherry picked from commit e06f428f6e
)
2014-03-16 11:01:09 -04:00
Roman Rei_
045aeda1e3
CSS: Add flex-grow and flex-shrink to cssNumber
...
Fixes #14888
Closes gh-1536
(cherry picked from commit c29e9c4db1
)
2014-03-13 23:14:55 -04:00
S. Andrew Sheppard
6d761984eb
AMD: Note on AMD best practices
...
Fixes #14687
Closes gh-1478
(cherry picked from commit 19220c0f29fa60d80a2beb76f048ffc8b972ba35)
Conflicts:
AUTHORS.txt
2014-03-12 23:21:30 -04:00
Dave Methvin
4c68d107b5
Event: Call underlying stopImmediatePropagation when present
...
Fixes #13997
(cherry picked from commit 6a89db86ed
)
2014-03-12 21:45:50 -04:00
Michał Gołębiowski
b5050dc489
Support: Simplify the box-sizing test
...
Don't require body in the support.boxSizing test.
2014-03-10 19:25:25 +01:00
Michał Gołębiowski
4a6d1631ea
Css: Revert 24e587929f
...
The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.
Tests by m_gol & gibson042.
(cherry-picked from 10e654218a
)
Fixes #14836
Closes gh-1532
2014-03-10 19:20:54 +01:00
Dave Methvin
5911b3e087
Ajax: Use two-arg form of .slice() for old IE
...
Followup to a4b9bc57, #14773
2014-03-04 21:50:43 -05:00
Dave Methvin
80e3dfa6ba
Core: Do not run window.onready when ready
...
Fixes #14802
(cherry picked from commit 2df1aad6a1
)
2014-03-04 21:50:43 -05:00
Dave Methvin
4adc5b2217
CSS: Return values should be numbers
...
Fixes #14792
(cherry picked from commit f4b37d8982
)
2014-03-04 21:50:42 -05:00
Dave Methvin
93fdfa2d8c
Event: Allow triggerHandler(beforeunload)
...
Fixes #14791
(cherry picked from commit 06adf7c95d
)
Conflicts:
src/event.js
2014-03-04 21:50:41 -05:00
Dave Methvin
48837b92b0
Ajax: .load() should trim its selector
...
Fixes #14773
(cherry picked from commit 3a68c114e3
)
Conflicts:
src/ajax/load.js
2014-03-04 21:50:40 -05:00
Dave Methvin
c93b174b92
Core: Arrays like [42] should fail .isNumeric()
...
Fixes #14179
(cherry picked from commit 10efa1f5b4
)
2014-03-04 21:50:39 -05:00
Michał Gołębiowski
a9fa2ec763
Core: Remove native String#trim usage to save size
...
(cherry-picked from 279913c71b
)
Fixes #14794
2014-03-04 23:15:30 +01:00
Richard Gibson
b96522acfe
Support: Reduce size via code consolidation and minification awareness
...
Ref badcd1b6f3
Closes gh-1518
2014-03-04 17:00:38 -05:00
Richard Gibson
81b89fd227
Support: Skip style-based tests when element.style is undefined
...
Fixes #14785
Ref #13754
Ref badcd1b6f3
2014-02-13 14:57:20 -08:00
Michał Gołębiowski
a0b19f7715
Core: Correct support comments for String.prototype.trim
2014-02-13 14:49:40 -08:00
Michał Gołębiowski
63f5486007
Docs: Add support comments for prefixed box-sizing
2014-02-05 15:59:38 +01:00
Michał Gołębiowski
e70d0d749b
Selector: update Sizzle
...
(cherry-picked from a74ad04bc9
)
2014-02-05 15:35:30 +01:00
Michał Gołębiowski
e46cabc6c2
Css: Document reliableMarginRight is needed for Android 2.3
2014-01-27 19:10:18 +01:00
Michał Gołębiowski
f4970c0390
Css: Fix the reliableMarginRight test in oldIE.
...
This fixes an error introduced by the previous commit.
2014-01-26 02:49:05 +01:00
Michał Gołębiowski
4cbb1a0063
Css: Don’t cache support.reliableMarginRight; thanks @jdalton, @timmywil
...
Fixes #14731
2014-01-26 02:07:35 +01:00
Dave Methvin
f345291209
Manipulation: Use textarea for missing IE defaultValue check
...
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.
Fixes #14716
Closes gh-1495
2014-01-23 14:14:44 -05:00
Oleg
f601dd4d23
Attrs: Restore ability to pass array to jQuery#val
...
Thanks @gibson042
2014-01-16 06:55:56 +04:00
Oleg
9fe051d57e
Attrs: Force reflow in select value setter
...
When new option element is added to select box we need to force reflow
of newly added node in order to workaround delay of initialization props.
try...catch statment is required for bug isolation
Fixes #2252
2014-01-16 04:56:32 +04:00
Oleg
92cbf5362c
Attrs: Fix valHook for option element
...
Fixes #14686
2014-01-16 03:21:25 +04:00
Timmy Willison
a247bd09ed
Sizzle: update committed dependencies
2014-01-13 16:39:09 -05:00
Oleg
06ee2c16f1
Ajax: support non-RFC2616 methods for oldIE
...
Closes gh-1466
Fixes #13240
2014-01-14 00:38:38 +04:00
Dave Methvin
09b28534fa
Effects: First step() call should match :animated selector
...
(cherry picked from commit 085814474e
)
Fixes #14623
Closes gh-1473
2014-01-09 22:29:05 -05:00
Forbes Lindesay
eb827097b8
Intro: Pass window to intro if available, for browserify
...
Closes gh-1476
(cherry picked from commit 6de1d973a4
)
2014-01-09 21:31:24 -05:00
Dave Methvin
551c12c242
Build: Happy New Year! Thanks @marlonlandaverde
...
(cherry picked from commit 3118f58c46
)
Closes gh-1477
2014-01-09 21:07:45 -05:00
Timo Tijhof
1828c9856e
traversing: Optimise .add by not using makeArray
...
(cherry picked from commit b39ee05b69
)
Closes gh-1430
2013-12-30 12:36:31 -05:00
Timmy Willison
36f00d0771
exports/global: Do not attach global variables for most CommonJS environments
...
For CommonJS environments where the global already has a document, it is expected
that if a global is needed, the user can attach the global.
Fixes #14645 .
2013-12-20 18:42:26 -05:00
Richard Gibson
189b2d22fb
Selector: update Sizzle
...
Fix #14584
(cherry picked from commit 29c8003347
)
2013-12-20 16:48:27 -05:00
Timmy Willison
1d3b60044b
Build: Add the ability to remove global exposure.
...
Ref #14016
Conflicts:
build/tasks/build.js
src/core.js
2013-12-19 15:36:34 -05:00
Dave Methvin
b876352d97
Offset: Fix comment typo, thanks @AurelioDeRosa
2013-12-18 20:54:02 -05:00
Timmy Willison
c2e0dbdaa5
Manage bower dependencies with grunt-bowercopy
...
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615 .
Closes gh-1452.
Conflicts:
bower.json
test/index.html
2013-12-06 16:14:27 -05:00
Michał Gołębiowski
91586997e0
Change window to global in the most outer IIFE parameters. (cherry-picked from dc649a33e0
)
...
In the most outer IIFE it’s not yet known if the global is window or not.
Using the window variable to denote the global was misleading in that case,
especially that the code didn’t make such assumption, requiring to provide
a Web-like window separately. Renaming window to global clears the confusion.
2013-11-17 01:08:53 +01:00
Timmy Willison
54419cb5ad
Fixes #14549 . Execute the factory immediately when CommonJS is used in the browser.
2013-11-15 17:18:47 -05:00
hongymagic
27b22f4ef5
Fix #14503 : Cast to string before setting XHR header. Close gh-1427.
2013-11-14 20:32:56 -05:00
Dave Methvin
5f325b1bee
Ref #14180 , let focusin/out work on non-element targets.
...
(cherry picked from commit c2aca17d45
)
Conflicts:
src/event.js
2013-11-14 16:40:22 -05:00
Dave Methvin
9ca87af44c
Fix #14475 . Use IE11-friendly detect for proper XHR object.
...
We don't seem to have test cases for local file access.
2013-11-14 16:10:54 -05:00
njhamann
c58a6435ef
Fix #14036 . Remove user/pass from ajaxLocation. Close gh-1340.
...
(cherry picked from commit eb1a2afc9fb1d990d10358aab0e17bc0ce1d1db3)
2013-11-13 22:55:12 -05:00
Dave Methvin
97d53838e0
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
...
(cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092)
(conflicts with .data() resolved manually)
2013-11-12 21:24:20 -05:00
Richard Gibson
60a6178131
Fix #14492 : More correct jQuery.parseJSON. Close gh-1419.
2013-11-12 00:07:28 -05:00
Oleg
ff951314e3
Remove old try...catch for old FF
2013-11-08 22:32:35 +01:00
Richard Gibson
c6de821070
Ref 705216d
: Synchronize ajax/xhr.js with master
2013-11-08 10:13:32 -05:00
Oleg
22120cea66
Fix some code style inconsistencies
2013-11-07 22:09:33 +01:00
Oleg
9e3d0f3109
Fix #14422 and add more thorough check for CSP violations
...
Close gh-1413
2013-11-07 22:08:50 +01:00
Richard Gibson
126d596b56
Fix #14074 : element id="nodeName". Close gh-1389.
2013-11-07 11:37:52 -05:00
Corey Frang
075763b71a
Fix #14101 : $().data() should be undefined, not null
...
- Backported 30eee925db
for 1.x
2013-11-06 11:07:52 -05:00
Marian Sollmann
3c968ce65d
Fix #14190 : Remove unnecessary assignment in .closest. Close gh-1411.
...
(cherry picked from commit 346b031af9e3b315ef351a9cc7fee56f930cf346)
Conflicts:
src/traversing.js
2013-11-06 10:27:48 -05:00
Richard Gibson
90d9c4632c
No ticket: Update style per gh-1418 comments
2013-11-04 12:58:13 -05:00
Richard Gibson
45a45599af
Ref 705216dc
: Synchronize ajax/xhr.js with master. Close gh-1418.
2013-11-04 09:42:26 -05:00
Richard Gibson
d8576139c1
Fix #14459 : Use jQuery.parseJSON instead of JSON.parse
...
(cherry picked from commit ced9d155f0
)
2013-10-28 11:39:43 -04:00
Dave Methvin
469150a27e
Revert "Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369."
...
This reverts commit bba8366af4
.
Because cross-frame focus sucks.
2013-10-22 22:47:34 -04:00
Dave Methvin
bba8366af4
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
...
(cherry picked from commit 6d5dfa0eda2c19e8838930fafff83b596654eca2)
Manually edited for conflicts.
2013-10-22 21:48:50 -04:00
Ronny Springer
aa70819598
Ref 2263134b
: Better identify potential JSON. Close gh-1401.
...
(cherry picked from commit 083edd60a6
)
Conflicts:
src/data.js
2013-10-16 08:50:13 -04:00
Lihan Li
a5063ee2a1
Fix #14394 : Changing style !important in webkit. Close gh-1385.
...
(cherry picked from commit 24e587929f
)
Conflicts:
src/css.js
2013-10-15 16:38:38 -04:00
Richard Gibson
024317f03b
No ticket: Small curCSS size optimizations
...
(cherry picked from commit a339096d6a
)
Conflicts:
src/css/curCSS.js
2013-10-15 15:19:45 -04:00
George Kats
32d61d75e5
Fix #14432 : Always return string from .css("z-index"). Close gh-1395.
...
(cherry picked from commit 5ce4b06c28
)
Conflicts:
src/css/curCSS.js
2013-10-15 13:58:06 -04:00
Timmy Willison
62900a9edb
Fixes #14450 . Remove CommonJS+AMD syntax.
...
- To keep file size unaffected, an extra pragma was added to build.js to remove certain lines when building with special comments.
Conflicts:
src/core.js
src/css.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
2013-10-15 11:59:16 -04:00
Dave Methvin
b7da3b0043
Fix #13993 . Save result of native inline handlers. Close gh-1368.
...
(cherry picked from commit 3bcd04f528
)
2013-10-06 17:58:28 -04:00
Richard Gibson
b31bd4c05d
No ticket: Compress core and data modules
2013-09-28 12:02:44 -04:00
Michał Gołębiowski
9bf6aaf4ad
No ticket. Get rid of comma expression in curCSS.
2013-09-24 14:11:24 +02:00
Anthony Ryan
4b378280d3
No ticket: Fix XHTML regression. Close gh-1376.
2013-09-23 10:26:20 -04:00
Timo Tijhof
020414ce51
core: Fix cut off comment in jQuery.map from c72371f714
. Close gh-1379.
...
(cherry picked from commit 2aa2957d21
)
2013-09-23 10:11:11 -04:00
Dave Methvin
75a0b4a73f
Fix #14290 . Don't throw if text node is appended to table. Close gh-1371.
...
(cherry picked from commit ec3ac9a247
)
2013-09-19 11:42:28 -04:00
Dave Methvin
60004e68f8
Fix #14282 . Don't fondle getPreventDefault if preventDefault exists. Close gh-1365.
...
(cherry picked from commit 4671ef15c2
)
Conflicts:
src/event.js
2013-09-19 10:19:13 -04:00
Oleg
fd2964237f
Fix #12723 and simplification and optmization of defaultDisplay helper
...
(cherry picked from commit a25343001e
)
2013-09-17 16:16:47 +04:00
Oleg
303e41d996
Simplify replaceWith method. Closes gh-1276
...
(cherry picked from commit 642e9a4557
)
2013-09-17 14:21:34 +04:00
Timmy Willison
53aa2e0c8b
Use charAt instead of string indexing for oldIE's sake. Fixes #14356 .
2013-09-12 15:49:53 -05:00
Richard Gibson
0bc0a69026
Ref #14313 : NaN detection. Close gh-1352.
2013-09-12 16:42:18 -04:00
Timmy Willison
e7bdccacab
Fix failing support test in IE6/7
2013-09-11 17:58:38 -05:00
Timmy Willison
1a9f8d9bb1
Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE)
2013-09-11 17:23:17 -05:00
Timmy Willison
d092a88e85
Set the input type for firefox. Fix a support test.
2013-09-11 15:35:50 -05:00
Timmy Willison
03fdc70a2e
Correct the checkClone support test for Safari 5.1 and mobile webkits
...
Conflicts:
src/manipulation/support.js
2013-09-11 14:55:15 -05:00
Timmy Willison
7a6c635cfa
Fix support test for checkClone. Fixes Safari 5.1 manip failures.
...
Conflicts:
src/manipulation.js
2013-09-11 14:31:06 -05:00
Timmy Willison
c13c5d7d24
Fix context
2013-09-11 08:46:19 -05:00
Timmy Willison
577df98524
The cssHook from addGetHookIf wasn't actually getting added
...
Conflicts:
src/css.js
2013-09-11 08:44:26 -05:00
Timmy Willison
b812c5bea8
Modules can assume the presence of their parents
...
Conflicts:
src/css/curCSS.js
2013-09-10 20:24:51 -05:00
Timmy Willison
203f63cf12
Remove unnecessary file from master cherry-pick
2013-09-10 20:15:38 -05:00
Timmy Willison
5bd074dd46
Remove offset dependency from css. Move curCSS and getStyles to their own module.
2013-09-10 20:08:54 -05:00
Michał Gołębiowski
f7111fb0e5
No ticket. Abstract conditional hook definition.
2013-09-11 02:51:48 +02:00
Timmy Willison
5fbf4a4fe3
Map Sizzle to a path with config to allow users to put Sizzle wherever they want
2013-09-10 18:48:53 -05:00
Timmy Willison
812319093a
Ensure display: inline-block when animating width/height on inline elements. Fixes #14344 .
2013-09-10 15:09:58 -05:00
Timmy Willison
19a0fdfbeb
Match ordering in ajax with master. -3 bytes.
2013-09-09 22:54:07 -05:00
Timmy Willison
2f627494f2
Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules). Restore proper support property for effects.
...
Conflicts:
src/attributes/classes.js
src/core.js
src/manipulation.js
src/traversing.js
2013-09-09 22:51:11 -05:00
Timmy Willison
49cfcb9f3e
Apply consistent ordering in all modules. -219 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend.
2013-09-09 12:22:37 -04:00
Timmy Willison
6bc8059717
All non-var modules should not indent in their AMD wrappers (just for prettier builds). No functionality changes.
2013-09-09 12:07:40 -04:00
Timmy Willison
2063d6c189
Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
...
Conflicts:
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/traversing.js
2013-09-09 12:04:03 -04:00
Timmy Willison
800b80f2ef
Reorder css.js logically
...
Conflicts:
src/css.js
2013-09-09 11:52:01 -04:00
Timmy Willison
ee0343dd1b
Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
...
Conflicts:
src/core.js
2013-09-09 11:47:03 -04:00
Timmy Willison
3c717d2e6a
Always return jQuery in modules that can be included separately
...
Conflicts:
src/attributes.js
src/data.js
src/manipulation.js
2013-09-08 21:30:48 -04:00
Timmy Willison
44596aa8f2
Move parsing methods to their own files (separates manipulation dependency from core)
...
Conflicts:
src/core.js
2013-09-08 21:12:58 -04:00
Michał Gołębiowski
f044622bae
No ticket. Restore checking individual src/**/*.js files by jsHint.
2013-09-06 20:31:48 +02:00
Michał Gołębiowski
6987220d2b
No ticket. Optimize top/left hooks: move the position check up, don't re-check it inside a hook.
2013-09-06 18:29:53 +02:00
Timmy Willison
3ec6af891b
Remove test element in css/support
2013-09-06 12:08:41 -04:00
Michał Gołębiowski
badcd1b6f3
Fix #10814 . Fix #14084 . Make support tests lazy and broken out to components.
2013-09-06 03:40:49 +02:00
Amey Sakhadeo
ceb5b4c9a3
Ref #14313 : Optimize 1.x jQuery.merge for size.
...
(cherry picked from commits c75c9a8ebb
f66d53c856
)
2013-09-03 02:02:45 -04:00
Richard Gibson
5cd6868365
Fix #14318 : Cherry-pick interrupted animation fix from master ea5c22ec12
2013-08-30 12:38:43 -04:00
Timmy Willison
8e6e239256
Pass all tests (and load Sizzle fixture correctly) when loading with AMD
...
Conflicts:
src/css.js
2013-08-29 16:25:44 -04:00
Timmy Willison
05d907d1b1
Fix for custom attr handles duck-punching the boolean attr handle
2013-08-28 12:12:37 -04:00
Timmy Willison
6e19d2a094
Make the attr handles a little more readable (+4 bytes)
2013-08-26 23:53:45 -04:00
Timmy Willison
dc0d3b42c9
Fix most of the broken tests in oldIE. Build order issue.
...
- attr requires val for attaching to the nodeHook as a valHook for buttons
2013-08-26 23:29:33 -04:00
Chris Price
b414efdd8e
Fix #14150 : revert to ownerDocument.defaultView.getComputedStyle. Close gh-1311. (cherry-picked from 3e3680c2cd
)
2013-08-19 18:13:09 +02:00
Jeremy Dunck
7dfe0ad191
Fix #14164 : assign className in addClass/removeClass only if changed. Close gh-1331. (cherry-picked from c418b94eb4
)
2013-08-19 17:58:00 +02:00
Oleg Gaidarenko
49670c5f48
Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ready). Close gh-1335.
2013-08-16 14:36:08 -04:00
Timmy Willison
2f985ff826
When converting the source to AMD, don't forget to AMD
2013-08-16 12:56:33 -04:00
Timmy Willison
7315861813
Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes.
...
Conflicts:
src/css.js
src/manipulation.js
src/offset.js
src/support.js
2013-08-15 20:41:43 -04:00
Timmy Willison
217cbb7109
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
...
Conflicts:
Gruntfile.js
README.md
src/ajax.js
src/ajax/xhr.js
src/attributes.js
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/selector-native.js
src/traversing.js
test/unit/core.js
test/unit/data.js
2013-08-15 15:49:49 -04:00
terrycojones
03ad042305
Removed an unneeded variable
...
(cherry-picked from the commit 74dadd3eb65301e630a274fa8d65e9b81bfade54)
2013-08-08 01:18:15 +04:00
Timmy Willison
755e46522d
No need to remove if they ain't nuthin thar
2013-07-24 21:24:37 -04:00
Michał Gołębiowski
4b7a0d4e0a
Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283.
...
Conflicts:
src/.jshintrc
test/.jshintrc
2013-07-11 12:59:44 -04:00
Timmy Willison
40d4881373
Include Sizzle and Qunit with bower. Fixes #14118 .
2013-07-10 12:01:20 -04:00
Timmy Willison
d355140e27
Remove undefined
var declarations
2013-07-08 12:29:12 -04:00
Timmy Willison
acdcc6b6a2
Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768 .
2013-07-04 14:05:30 -04:00
Timmy Willison
894a6c1a6f
Update sizzle to 1.10.3-pre
2013-07-04 13:25:55 -04:00
Timmy Willison
1ebed13c99
Update Sizzle to version 1.10.2
2013-07-03 09:39:17 -04:00
Jason Merino
1c6641f0c8
Fixes #14049 : don't append px to CSS order value. Close gh-1300. (cherry picked from ec6eb38c64
)
2013-07-01 20:03:16 +02:00
Timmy Willison
2933c30b67
Update Sizzle: bower manifest
2013-06-26 23:09:33 -04:00
terrycojones
cafd88ec1d
Moved too-early assignment inside the if stmt where the var is actually used. Close gh-1292.
...
(cherry picked from commit 3a434434c4
)
2013-06-19 19:18:11 -04:00
Timmy Willison
4ad18e0b2a
Update Sizzle. Avoid the use of frameElement. Fixes #13980 .
2013-06-03 16:10:48 -04:00
Jason Bedard
9a3683b110
Avoid jQuery(this) and a closure for .toggle(Boolean), close gh-1271.
...
(cherry picked from commit e53a919090
)
2013-06-02 22:35:49 -04:00