Commit Graph

4294 Commits

Author SHA1 Message Date
Alexander K
4f270427d2 Serialize: .param - don't use ajaxSettings.traditional
Ref gh-3023
Closes gh-3030
2016-04-27 09:05:30 -04:00
Michał Gołębiowski
3b356cfde4 Build: Strip the strict-mode related comment in exports/global.js
The comment (& the JSHint pragma) doesn't make sense in the context of the
full built file.

Closes gh-3078
2016-04-26 22:50:22 +02:00
Michał Gołębiowski
ff1a0822f7 CSS: Don't workaround the IE 11 iframe-in-fullscreen sizing issues
IE 11 used to have an issue where if an element inside an iframe was put
in fullscreen mode, the element dimensions started being 100 times too small;
we've added a workaround that would multiply them by 100. However, the IE 11
issue has been unexpectedly fixed and since our detection was really detecting
the browser and not a bug, we've started breaking the browser instead of fixing
it.

Since there's no good way to detect if the bug exists, we have to back the
workaround out completely.

Fixes gh-3041
Refs gh-1764
Refs gh-2401
Refs 90d828bad0
2016-04-26 21:19:54 +02:00
Michał Gołębiowski
305f193aa5 Build: Put all AMD modules in "src/" in strict mode
Fixes gh-3073
2016-04-25 20:25:08 +02:00
Richard Gibson
cf1497a58c Build: A more modest block-level function proposal
This reverts commit fa610da684.
2016-04-23 22:14:25 -04:00
Richard Gibson
3befe5911a Offset: Resolve strict mode ClientRect "no setter" exception 2016-04-23 00:31:28 -04:00
Richard Gibson
76084372c2 Deferred: Remove default callback context
Employs strict mode to simplify Deferred callback context handling.

Fixes gh-3060
Closes gh-3061
2016-04-23 00:30:48 -04:00
Richard Gibson
755e7ccf01 CSS: Toggle detached elements as visible unless they have display: none
Fixes gh-2863
Closes gh-3037
2016-04-11 13:21:11 -04:00
Richard Gibson
91850ecbbe Serialize: Reduce size
Ref 9fdbdd393a
2016-04-05 10:54:37 -04:00
Joe Trumbull
9fdbdd393a Serialize: Treat literal and function-returned null/undefined the same
Fixes gh-3005

Closes gh-3007
2016-04-05 10:38:56 -04:00
Oleg Gaidarenko
5d20a3c3f1 Ajax: execute jQuery#load callback with correct context
Thanks @blq (Fredrik Blomqvist)

Fixes gh-3035
Close gh-3039
2016-04-04 16:22:35 -04:00
Richard Gibson
e0d3bfa770 Core: Simplify isPlainObject
Fixes gh-2986
Close gh-2998
2016-04-04 12:02:13 -04:00
Timmy Willison
10fc59007d Core: set the base href of the context in parseHTML
Fixes gh-2965
Close gh-3022
2016-04-04 11:30:27 -04:00
Timmy Willison
5cbb234dd3 Core: implement ready without Deferred
- Make jQuery.ready promise-compatible
- Gives up sync guarantee for post-ready callbacks

Fixes gh-1778
Fixes gh-1823
Close gh-2891
2016-04-04 11:26:22 -04:00
Michał Gołębiowski
6072d150d6 Docs: Update support comments to follow the new syntax
The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
2016-03-30 23:45:17 +02:00
Michał Gołębiowski
693f1b537b Docs: Update support comments related to IE
All support comments were checked for Edge applicability.
2016-03-30 11:21:36 +02:00
Michał Gołębiowski
622db29d9c Docs:Tests: Remove legacy code & add support comments where needed
This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.

Refs 90d7cc1d8b
2016-03-30 11:21:36 +02:00
Oleg Gaidarenko
44cb97e0cf Support: improve support properties computation
* Remove div from the memory if it is not needed anymore

* Make `computeStyleTests` method a singleton

Fixes gh-3018
Closes gh-3021
2016-03-28 19:24:31 +03:00
Timmy Willison
7052698191 Attributes: strip/collapse whitespace for set values on selects
Fixes gh-2978
Close gh-3002
2016-03-17 12:24:51 -04:00
Richard Gibson
0c1f72667d Core: Restore 1.x isPlainObject constructor checks
- Guard isPlainObject against inherited scalar constructors

Fixes gh-2982
Close gh-2985
2016-03-14 11:45:07 -04:00
Timmy Willison
4a098f4883 Build: combine intro and outro
Fixes gh-2975
Close gh-2976
2016-03-09 11:42:42 -05:00
Michał Gołębiowski
9b086888b8 Docs:Tests: Remove obsolete code from tests, update support comments
Support comments that were lacking the final IE/Edge version that exhibits
the bug were checked & updated. Links to the Chromium bug tracker were updated.
Code in tests related to unsupported browsers (like Android 2.3 in non-basic
tests) has been removed.

Fixes gh-2868
Closes gh-2949
2016-03-08 23:26:46 +01:00
Timmy Willison
b43a3685b6 Attributes: remove redundant parent check 2016-03-07 11:30:06 -05:00
Timmy Willison
0402963845 Selector: filters -> pseudos
Fixes gh-2073
Close gh-2969
2016-03-07 11:14:53 -05:00
Timmy Willison
00575d4d8c Core: restore enumeration behavior in isPlainObject
Fixes gh-2968
Close gh-2970
2016-03-07 11:12:47 -05:00
Michał Gołębiowski
93a8fa6bfc Core: Deprecate jQuery.parseJSON
Fixes gh-2800
Closes gh-2948
2016-03-02 13:12:35 +01:00
Michał Gołębiowski
615d92517b Attributes: remove the lower-casing logic for attribute names
jQuery used to lower-case the attribute names passed to the .attr setter
to workaround an old IE issue. This is no longer in jQuery 3.0 and
removing it may even "accidentally" make this API sort-of work on SVGs
(see gh-2910) so why not.

Manual lowercasing had to be added to the place where the proper
attrHook is retrieved so that it works regardless of the casing of the
provided name. A regular `toLowerCase()` is enough there as those few
attributes don't contain any non-ASCII characters.

Fixes gh-2914
Closes gh-2916
2016-02-17 02:30:22 +01:00
Timmy Willison
5943f1d7ff Build: use hard-coded path to sizzle in selector-sizzle
Fixes gh-2898
2016-02-10 13:47:25 -08:00
Oleg Gaidarenko
49833f7795 Revert "Offset: account for scroll when calculating position"
This reverts commit 2d715940b9.

This commit provoked new issues: gh-2836, gh-2828.

At the meeting, we decided to revert offending commit
(in all three branches - 2.2-stable, 1.12-stable and master)
and tackle this issue in 3.x.

Fixes gh-2828
2016-02-09 00:24:22 +03:00
Michał Gołębiowski
9cb89bf91d Attributes: Add a support comment & fix a link @ tabIndex hook
Ref gh-2664
2016-02-03 11:49:19 +01:00
Timmy Willison
25068bf2c6 Selector: add jQuery.escapeSelector
Fixes gh-1761
Close gh-2878
2016-01-28 17:25:41 -05:00
Todor Prikumov
35c314827d CSS: Make sure elem.ownerDocument.defaultView is not null
Fixes gh-2866
Close gh-2867
2016-01-27 11:35:51 -05:00
Bernhard M. Wiedemann
1de8346729 Docs: use https where possible
Close gh-2875
2016-01-27 10:52:43 -05:00
Steve Mao
7103d8ef47 Core: Improve isNumeric logic and test coverage
Also add back accidentally deleted comments about the implementation.

Fixes gh-2780
Ref gh-2663
Ref gh-2781
Closes gh-2827
2016-01-24 19:07:09 -05:00
Timmy Willison
e04e246552 Effects: remove width/height exception for oldIE
Fixes gh-2488
Close gh-2849
2016-01-21 11:28:55 -05:00
Timmy Willison
a6fc0b1651 CSS: isHidden -> isHiddenWithinTree
Fixes gh-2404
Close gh-2855
2016-01-21 11:27:39 -05:00
Timmy Willison
4d3050b3d8 Traversing: restore jQuery push behavior in .find
Fixes gh-2370
Close gh-2848
2016-01-20 13:23:01 -05:00
Timmy Willison
250fd800a1 Ajax: add serialize to AMD dependencies
Fixes gh-2842
2016-01-19 12:37:41 -05:00
Devin Wilson
17f0e26ad9 Event: Fix chaining .on() with null handlers
Fixes gh-2846
2016-01-19 12:27:58 -05:00
Timmy Willison
780cac802b Attributes: fix setting selected on an option in IE<=11
Fixes gh-2732
Close gh-2840
2016-01-19 11:36:47 -05:00
Richard Gibson
fe05cf37ff CSS: Stop Firefox from treating disconnected elements as cascade-hidden
Fixes gh-2833
Ref dba93f79c4
Close gh-2835
2016-01-14 17:53:39 -05:00
Richard Gibson
dba93f79c4 CSS: Restore cascade-override behavior in .show
Fixes gh-2654
Fixes gh-2308
Close gh-2810
Ref 86419b10bf
2016-01-13 16:05:09 -05:00
Richard Gibson
a268f5225c Traversing: Never let .closest() match positional selectors
Fixes gh-2796
Close gh-2818
2016-01-13 13:37:11 -05:00
Martijn W. van der Lee
0e2f8f9eff Traversing: .not/.filter consistency with non-elements
Fixes gh-2808
Close gh-2809
2016-01-13 13:33:01 -05:00
Jon Dufresne
b0b280cd61 Docs: Updated links to https where they are supported.
Close gh-2746
2016-01-13 13:26:10 -05:00
Josh Soref
aae44111e2 Docs: Fix various spelling errors
Closes gh-2761
2016-01-13 13:11:11 -05:00
Dave Methvin
36a7cf9b1e Deferred: Warn on exceptions that are likely programming errors
Fixes gh-2736
Closes gh-2737
2016-01-13 12:39:58 -05:00
Dave Methvin
bdf1b8f317 Deferred: Remove undocumented progress notifications in $.when
Fixes gh-2710
Closes gh-2816
2016-01-13 12:21:17 -05:00
Leonardo Braga
fb9472c7fb Manipulation: Bring tagname regexes up to spec
Fixes gh-2005
Closes gh-2634
2016-01-07 16:48:49 -05:00
Jun Sun
df822caff0 CSS: Add animation-iteration-count to cssNumber, fix tests
Fixes gh-2792
Closes gh-2793
2016-01-07 21:46:22 +01:00
Timmy Willison
a4d16a26ab Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"
This reverts commit 53f798cf4d.

- Turns out this is documented, even if not fully. Need to deprecate before removal.
2016-01-07 14:06:41 -05:00
Jae Sung Park
1823a71566 Event: Remove duplicated word text on comment
Closes #2751
2015-12-03 08:53:22 -05:00
Timmy Willison
fbf829b724 Attributes: exclusively lowercase A-Z in attribute names
Fixes gh-2730
Close gh-2749
2015-12-02 10:39:02 -05:00
Oleg Gaidarenko
6680c1b29e Core: do not expose second argument of the jQuery.globalEval
Closes jquery/api.jquery.com#831
Closes gh-2718
2015-12-02 17:09:01 +03:00
Dave Methvin
e077ffb083 Ajax: Preserve URL hash on requests
Fixes gh-1732
Closes gh-2721
2015-11-30 19:55:50 -05:00
Richard Gibson
eaa3e9f0cf Ajax: Golf away 21 bytes
Close gh-2699
2015-11-19 16:04:19 -05:00
Timmy Willison
78b9eac119 Deferred: syncronize single and multiple target handling in $.when
Fixes gh-2546
Fixes gh-2018
Close gh-2707
2015-11-13 11:16:26 -05:00
Timmy Willison
88046440da Selector: pass jQuery unit tests with selector-native
- Ignore certain tests that obviously are not supported
- Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions

Fixes gh-1742
Fixes gh-2048
Close gh-2703
2015-11-11 10:10:10 -05:00
Timmy Willison
ab06be561e Effects: fix loading showHide in AMD mode 2015-11-10 12:44:35 -05:00
Dave Methvin
2937019060 Offset: offsetLeft/Top on empty set returns undefined
Fixes gh-2319
Closes gh-2702
Ref gh-2701
2015-11-10 10:01:45 -05:00
Dave Methvin
97d79ecf6b Dimensions: Empty sets should return undefined
Ref gh-2319
Closes gh-2701
2015-11-10 09:59:48 -05:00
Timmy Willison
75b3cdd509 Dimensions: properly manipulate non-px values
Fixes gh-1712
Close gh-2695
2015-11-09 17:38:00 -05:00
Timmy Willison
22449eb968 Manipulation: execute scripts from iframe in the iframe's context
Fixes gh-1757
Close gh-2696
2015-11-09 14:14:30 -05:00
Dave Methvin
7d44d7f9e7 Dimensions: outerWidth/Height include scrollbar
Fixes gh-1729
Closes gh-2694
2015-11-07 15:13:31 -05:00
Dave Methvin
c9935b6d2d Event: Separate trigger/simulate into its own module
Fixes gh-1864
Closes gh-2692

This also pulls the focusin/out special event into its own module, since that
depends on simulate(). NB: The ajax module triggers events pretty heavily.
2015-11-06 09:36:48 -05:00
Timmy Willison
79fc806e85 Attributes: return empty array for select-multiple with no values
Fixes gh-2562
Close gh-2689
2015-11-05 17:41:49 -05:00
Dave Methvin
769446c697 Ajax: Don't throw exceptions on binary data response
Fixes gh-2498
Closes gh-2682

The added unit test shows how this could be used to support an
ArrayBuffer return, but $.ajax does not support it natively.
The goal with this change was to avoid the exception.
2015-11-04 12:47:16 -05:00
Timmy Willison
76e9a95dbe Ajax: trigger error callback on native abort
- IE9 does not have onabort. Use onreadystatechange instead.

Fixes gh-2079
Close gh-2684
2015-11-03 12:34:04 -05:00
Dave Methvin
70605c8e56 Ajax: Only form-encode requests with a body
Fixes #2658
Closes #2671
2015-11-02 13:14:46 -05:00
Timmy Willison
dabd5ba96c Core: use interactive to evaluate dom ready, barring IE9-10
Fixes gh-2100
2015-10-29 10:21:50 -04:00
Timmy Willison
47ccf3daad Attributes: do not set properties to false when removing booleans
Fixes gh-1759
2015-10-21 16:23:44 -04:00
Timmy Willison
15ac848868 Core: make isNumeric limited to strings and numbers
Fixes gh-2662
2015-10-21 16:22:22 -04:00
Richard Gibson
487d5ca913 CSS: Correct misrepresentation of "auto" horizontal margins as 0
Fixes gh-2237
Closes gh-2276

(cherry picked from commit 214e1634ab)

Conflicts:
	src/css.js
	src/css/support.js
	test/unit/support.js
2015-10-18 16:58:38 -04:00
Joelle Fleurantin
c752a5030b Attributes: fix tabIndex on <img> in IE11
Fixes gh-2647
Closes gh-2664
2015-10-18 16:36:52 -04:00
Timmy Willison
3689963909 CSS: use isFinite in place of redundant isNumeric 2015-10-18 15:12:42 -04:00
Timmy Willison
32cfc38a9c CSS: fix AMD mode for the new showHide module 2015-10-18 15:10:11 -04:00
Dave Methvin
c82a6685bb Event: Fix delegated radio events when arrow keys are used
Fixes gh-2343, gh-2410
Close gh-2617
2015-10-18 13:06:37 -04:00
Thomas Tortorini
5db1e05309 Attributes: removeClass() -> attr("class", "")
- Classes simpliciation

Close gh-2465
2015-10-18 12:46:34 -04:00
Dave Methvin
4bf1a09522 Attributes: Use simpler boolean check vs a function call
Ref gh-2491
2015-10-18 12:39:38 -04:00
Dave Methvin
53f798cf4d Attributes: Remove undocumented .toggleClass( boolean ) signature
Fixes gh-2491
Close gh-2618
2015-10-18 12:38:59 -04:00
Dave Methvin
67d7a2eefe CSS: Make show/hide/toggle methods a module
Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.

Fixes gh-2193
Close gh-2648
2015-10-18 12:30:00 -04:00
Timmy Willison
e271f665dd Deprecated: fix amd mode for the deprecated module 2015-10-18 11:02:16 -04:00
Liza Ramo
0703fd52ef Core: make isNumeric test work on Symbol
Ref #2645
Closes #2657
2015-10-17 16:50:05 -04:00
Christian Grete
8a734344f2 Core: Support Symbol wrapper objects in jQuery.type
In ECMAScript 2015 (ES6), the native typeof operator returns "symbol"
for Symbol primitives. As it is possible to wrap symbols using the
Object constructor, symbols can be objects as well as any other
primitive type in JavaScript and should be determined by jQuery.type.

Closes gh-2627
2015-10-13 01:18:20 +03:00
Oleg Gaidarenko
239169bb2e Ajax: improve content-type detection
Fixes gh-2584
Closes gh-2643
2015-10-12 22:38:15 +03:00
Oleg Gaidarenko
cb087ce41d Ajax: correct indentation
As noted by @arthurvr

Follow-up for b078a62013
2015-10-12 20:35:29 +03:00
Gary Ye
03eaadb131 Tests:Docs: Fix various typos
* Changes "baar" to "bar" when used with "foo" in readme
  and comments of js files

* mousenter -> mouseenter

Thanks @garysye, @KimTaehee

Closes gh-2613
Closes gh-2601
2015-10-12 18:08:13 +03:00
Dave Methvin
ee0854f85b Event: Move .bind() and .delegate() to deprecated
Fixes gh-2288
Closes gh-2624
2015-10-12 17:32:08 +03:00
Oleg Gaidarenko
b078a62013 Ajax: Mitigate possible XSS vulnerability
Proposed by @jaubourg

Fixes gh-2432
Closes gh-2588
2015-10-12 17:05:18 +03:00
Anthony Ryan
99e8ff1baa Manipulation: Don't provide the parser with sloppy table markup
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 0ea342a6a6

Refs gh-2031
Refs gh-2002
Fixes gh-2493
Closes gh-2499
2015-09-14 22:01:04 +02:00
Jason Bedard
b5f7c9e2d5 Data: Combine register and cache methods
Closes gh-2553
2015-09-14 21:53:27 +02:00
Michał Gołębiowski
ce3b4a6242 Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support
Drop non-critical workarounds for Android 2.3.

Fixes gh-2483
Fixes gh-2505
Closes gh-2581
2015-09-14 21:26:48 +02:00
Jason Bedard
0e982433eb Data: avoid using delete on DOM nodes
Closes gh-2479
2015-09-08 20:22:54 +02:00
Sean Henderson
d4def22e4c Manipulation: Switch rnoInnerhtml to a version more performant in IE
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
2015-09-08 19:31:57 +02:00
Michał Gołębiowski
f9ef427d35 Traversing: Don't expose jQuery.dir & jQuery.sibling
jQuery.dir & jQuery.sibling are undocumented internal APIs; they shouldn't
be exposed.

Fixes gh-2512
Closes gh-2525
2015-09-08 17:32:07 +02:00
Thomas Tortorini
3dd3d1357d Effects: Finish should call progress
Fixes gh-2283
Closes gh-2292
2015-09-08 02:40:54 +02:00
Yongwoo Jeon
98cee73244 Core: Remove unnecessary parameter to jQuery#constructor
Closes gh-2441
2015-09-08 02:30:26 +02:00
Jason Bedard
f5bf9bc488 Data: do not create data cache when fetching single property
Closes gh-2554
2015-09-08 01:55:51 +02:00
Oleg Gaidarenko
5adf04a73c Build: put back "lint" command to the "dev" list
Also fix lint error in `data` module.

It seems this command was removed from the list during merge
2015-09-08 02:33:43 +03:00
Jason Bedard
224271982e Data: Don't expose jQuery.acceptData
jQuery.acceptData is an undocumented internal API that shouldn't be exposed.

Fixes gh-2555
2015-09-08 01:00:31 +02:00
Michał Gołębiowski
14c0fe4432 Serialize: Fix object detection
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 3d7ce0a65f
2015-09-07 23:22:56 +02:00
Daniel Nill
3d7ce0a65f Serialize: Handle arrays with null values
Closes gh-2436
2015-09-07 22:45:23 +02:00
Thomas Tortorini
b7a7dea95f Effects: Remove additional parameters of easings
Fixes gh-2367
Closes gh-2376
2015-09-07 22:07:32 +02:00
Oleg Gaidarenko
c9cf250daa Ajax: do not quote "throws" option - use dot notation instead
Fixes gh-2571
Closes gh-2542
2015-09-07 20:03:51 +03:00
Oleg Gaidarenko
10fdad742a Build: Update jscs and lint files
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Richard Gibson
9d820fbde6 Event: Only check elements for delegation matches
Closes gh-2529
Ref trac-13208
(cherry picked from commit fc2ba2e136)
2015-08-10 10:26:13 -04:00
Michał Gołębiowski
9adfad1986 Core: Don't expose jQuery.access
jQuery.access was never documented, there is no need to keep it exposed.

Fixes gh-2513
Closes gh-2524
2015-08-03 19:33:38 +02:00
Michał Gołębiowski
669cb16d76 Build: Add a comment explaining why the es3 option is needed
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
2015-08-03 18:51:18 +02:00
Jason Bedard
5fe76c663f Data: remove user data in cleanData
Fixes gh-2503
Closes gh-2480
2015-07-28 14:22:03 +02:00
Michał Gołębiowski
2792845534 Event: Update support comments for mouseenter/mouseleave implementation
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.
2015-07-27 22:29:38 +02:00
Michał Gołębiowski
93bee4701d Core: Adjust comments & tests after dropping Safari 6 support
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
2015-07-27 22:14:48 +02:00
Thomas Tortorini
bf48c21d22 Core: .each/.map should accept an undefined/null value
Fixes gh-2267
Closes gh-2363
2015-07-27 19:57:34 +02:00
Michał Gołębiowski
d242753726 Core: Add a support comment for Safari 8
Related issue: https://bugs.webkit.org/show_bug.cgi?id=137337

Thanks @phistuck!

Refs cfe468f29c
2015-07-20 20:22:34 +02:00
Michał Gołębiowski
1c59b308d2 Build: Acknowledge Android 2.3 is not ES5-compatible
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
2015-07-20 18:37:26 +02:00
Marek Lewandowski
bf591fb597 Selector: Define jQuery.uniqueSort in selector-native too
Fixes gh-2466
Closes gh-2467
2015-07-14 09:18:57 -04:00
Oleg Gaidarenko
a2ae215d99 Ajax: Remove jsonp callbacks through "jQuery#removeProp" method
Fixes gh-2323
Closes gh-2464
2015-07-13 01:34:09 +03:00
Michał Gołębiowski
b60b26e184 CSS: Make .css("width") & .css("height") return fractional values
Fixes gh-1724
Closes gh-2439
2015-07-07 18:09:45 +02:00
Timmy Willison
84ccf2606c Deferred: add .catch handler
Fixes gh-2102
2015-07-06 10:47:30 -04:00
Michał Gołębiowski
8e4aac8cb0 CSS: Improve a comment explaining IE11 fullscreen bug 2015-07-01 23:20:32 +02:00
Corey Frang
b3b2d6c3dd Effects: Adding unit tests for jQuery.Animation
Closes gh-2326
2015-06-26 20:06:03 -04:00
Corey Frang
cdaed15c7e Effects: Add tests for jQuery.Tween 2015-06-26 20:05:25 -04:00
Thomas Tortorini
3a0d582cf6 CSS: make the getStyles function more readable
The new version is not only simpler to read but also smaller
by 6 bytes gzipped.

Closes gh-2393
2015-06-25 02:48:35 +02:00
Gilad Peleg
5153b5334e Core: organize prop & attr code to be similar
Closes gh-2384
2015-06-23 16:52:00 +03:00
Martin Naumann
90d828bad0 CSS: Work around an IE11 fullscreen dimensions bug
Fixes gh-1764
Closes gh-2401
2015-06-23 00:53:00 +02:00
Michał Gołębiowski
842958e7ae Core: Switch from modules to just window.setTimeout etc.
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.
2015-06-17 12:59:01 +02:00
Michał Gołębiowski
219c749493 Core: Use window.setTimeout & friends instead of global equivalents
Fixes gh-2177
2015-06-17 12:29:49 +02:00
Timmy Willison
0e4477c676 Offset: return before getBoundingClientRect to avoid error in IE8-11 2015-06-16 11:21:58 -04:00
Timmy Willison
40dcc76764 Offset: return zeros for disconnected/hidden elements
Fixes gh-2310
Close gh-2396
2015-06-16 10:55:11 -04:00
Timmy Willison
578dcee96a Revert "Offset: allow offset setter to throw for disconnected elements"
This reverts commit 0d11c1182f.
2015-06-16 10:54:52 -04:00
Michał Gołębiowski
349edbd6c5 Manipulation: Remove an internal argument to the remove method
Fixes gh-2301
Closes gh-2366
2015-06-14 00:07:31 +02:00
Michał Gołębiowski
04a29696e5 Event: Remove an internal argument to the on method
Refs gh-2301
2015-06-14 00:06:51 +02:00
Michał Gołębiowski
bb026fc12c Core: Make jQuery objects iterable
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
2015-06-13 23:14:36 +02:00
Oleg Gaidarenko
3655c4e190 Event: remove preDispatch hook & simplify "simulate" signature
Closes gh-2358
2015-06-05 22:14:42 +03:00
Michał Gołębiowski
0019a463bd CSS: Don't name the anonymous swap function
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 e847574fc7)

Refs 02a9d9f94b
2015-06-01 19:59:23 +02:00
Michał Gołębiowski
38a669735d Ajax: Remove remnants of the load event alias handling
Refs 0705be4750
Refs gh-2287
Closes gh-2362
2015-06-01 19:05:54 +02:00
Michał Gołębiowski
d471842b3e CSS: Don't cache unrecognized CSS property names
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
2015-06-01 14:05:05 +02:00
Oleg Gaidarenko
6df669f0fb Event: remove outdated originalEvent hack
Closes gh-2335
Ref 7475d5debe
2015-05-29 20:32:59 +03:00
Gabriel Schulhof
7475d5debe Event: Remove fake originalEvent from jQuery.Event.simulate
Fixes gh-2300
Closes gh-2303
2015-05-29 19:56:06 +03:00
Oleg Gaidarenko
0705be4750 Event: remove deprecated event aliases
Fixes gh-2286
Closes gh-2287
Ref trac-11733
2015-05-19 13:43:34 +03:00
Oleg Gaidarenko
c074006a69 Event: provide verbose comment for focus(in | out) & rename support prop
Closes gh-2312
2015-05-19 13:43:34 +03:00
Richard McDaniel
2d715940b9 Offset: account for scroll when calculating position
Fixes gh-1708
Close gh-1714
2015-05-12 10:34:57 -04:00
Timmy Willison
c252c5fac2 Core: remove custom ready event
Fixes gh-2264
Close gh-2265
2015-05-12 10:26:21 -04:00
Timmy Willison
20aaed367f Attributes: add SVG class manipulation
- Note: support for SVG is limited in jQuery,
  but this is one area where the cost vs benefit ratio
  was acceptable.

Fixes gh-2199
Close gh-2268
2015-05-12 10:13:46 -04:00
Timmy Willison
56bb677725 Data: remove the expando when there's no more data
Fixes gh-1760
Close gh-2271
2015-05-12 10:09:40 -04:00
Timmy Willison
764dc949d0 Data: remove some unused code 2015-05-12 10:09:40 -04:00
Timmy Willison
79bcb29132 CSS: fix :visible/:hidden selectors for inline element w/ content
- Reverts behavior from 10399dd, which we never released.
  BR and inline elements are considered visible.
- The possibility of dropping .offsetWidth and .offsetHeight
  was debunked by this perf:
  http://jsperf.com/visible-hidden-and-getclientrects

Fixes gh-2227
Close gh-2281
2015-05-12 09:14:16 -04:00
Michał Gołębiowski
7855a1a7d8 CSS: Collapse a double if statement into one
Saves 3 bytes gzipped

Closes gh-2296
2015-05-12 00:05:35 +02:00
Richard Gibson
86419b10bf CSS: Ignore the CSS cascade in show()/hide()/etc.
Fixes gh-1767
Fixes gh-2071
Closes gh-2180
2015-05-11 13:00:49 -04:00
Timmy Willison
62d5579578 Manipulation: privatize internal domManip() function
Fixes gh-2225
2015-05-05 11:53:26 -07:00
Timmy Willison
a74320fca8 Manipulation: privatize buildFragment() function
Fixes gh-2224
2015-05-05 11:44:55 -07:00
Timmy Willison
5f2ea40258 Effects: set default easing using jQuery.easing._default
Fixes gh-2219
Close gh-2218
2015-05-05 10:24:20 -07:00
Mu Haibao
436f0aee0a Core: remove isArraylike check for nodes
Fixes gh-2238
Close gh-2243
2015-05-05 10:21:10 -07:00
Timmy Willison
0d11c1182f Offset: allow offset setter to throw for disconnected elements
Fixes gh-2114
2015-05-05 08:53:17 -07:00
Timmy Willison
6176567361 Offset: remove ownerDocument check in offset getter
Fixes gh-2115
2015-05-05 08:31:39 -07:00
Arthur Stolyar
1617479fcf Offset: Fix .offset() to correctly work with ShadowDOM
Fixes gh-1784
Close gh-2043
2015-05-05 08:16:29 -07:00
Timmy Willison
e1090c3d2b Selector: add jQuery.uniqueSort; deprecate jQuery.unique
Fixes gh-2228
2015-05-04 15:27:12 -07:00
Timmy Willison
7a6931de68 Core: allow init to accept an alternate rootjQuery for migrate's sake
- This will be tested in migrate

Fixes gh-2101
2015-05-04 15:16:28 -07:00
Timmy Willison
172cad80ac Data: camelCasing should not ignore case
Fixes gh-2070
2015-05-04 10:49:21 -04:00
Timmy Willison
0e790985a7 Data: always camelCase keys in .data()
- This effectively implements our "Embrace HTML5" option
- Related: http://goo.gl/GcQAtn

Fixes gh-2257
2015-05-04 10:27:30 -04:00
Timmy Willison
2862a07af6 Data: do not include digits when camelCasing
Fixes gh-1751
2015-05-03 08:25:19 -04:00
Oleg Gaidarenko
a873558436 Event: remove redundant guards for the event methods
Fixes gh-2047
Closes gh-2125
2015-05-03 13:56:32 +03:00
Oleg Gaidarenko
85577a348a Core:CSS:Event: simplification of native method signatures
* Remove third argument from "addEventListener"

* Remove third argument from "removeEventListener"

* Remove second argument from "getComputedStyle"

Ref gh-2047
2015-05-03 13:56:32 +03:00
Oleg Gaidarenko
a117dd05f6 Ajax: remove "onunload" event handler
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
2015-05-03 13:54:17 +03:00
Oleg Gaidarenko
9db9316609 Event: add support comment
Ref gh-2047
2015-05-03 13:28:34 +03:00
Oleg Gaidarenko
fac67a9842 Event: remove guard for falsy handler argument of jQuery#on method
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
2015-05-03 13:28:27 +03:00
Richard Gibson
225bde37c9 Manipulation: Make an HTML interception point
Fixes gh-1747
Closes gh-2203
2015-04-30 13:15:33 -04:00
Richard Gibson
4b27ae16a2 Manipulation: Detect sneaky no-content replaceWith input
Fixes gh-2204
Ref 642e9a4557
Closes gh-1752
Closes gh-2206
2015-04-30 11:36:38 -04:00
Timmy Willison
1541664582 Core: add workaround for iOS JIT error in isArrayLike
Fixes gh-2145
2015-04-29 18:02:45 -04:00
Michał Gołębiowski
f6de5a90dd Core: Align branches: remove an unused variable, add comments
Closes gh-2233
2015-04-27 20:19:05 +02:00
Richard Gibson
002240a6eb Deferred: Always handle progress callbacks before done/fail
Fixes gh-2013
Fixes gh-2010
Closes gh-2210
2015-04-22 15:24:37 -04:00
Bastian Buchholz
55ac56aeda Attributes: remove unnecessary element null check
Close gh-2201
2015-04-20 15:06:13 -04:00
Alexander O'Mara
892625b3c3 Core: Follow the AMD specification for define
AMD specification requires the factory argument be defined.

Close gh-2179
2015-04-13 11:53:26 -04:00
Michał Gołębiowski
bb4d888f4f CSS: Don't expose jQuery.swap
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
2015-04-13 11:41:57 -04:00
Timmy Willison
2905961bf7 Attributes: revert returning null for non-existant attributes
Ref https://github.com/jquery/jquery/issues/2118
2015-03-30 15:32:54 -04:00
Dave Methvin
7b09235cee Wrap: Support .unwrap( selector) for selective unwrapping
Fixes gh-1744
Closes gh-2003
2015-03-30 13:38:40 -04:00
Michał Gołębiowski
06f6cd1ffd Core: Update tested jsdom, drop obsolete workarounds
The latest version supporting Node.js is 3.1.2; some workarounds are not needed
for this version. For example, in jsdom 3.1.2 a document created via
document.implementation.createHTMLDocument( "" ) has a body.

Fixes gh-2153
Closes gh-2154
2015-03-30 18:58:09 +02:00
Richard Gibson
555a50d340 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Timmy Willison
7632b7454b Attributes: revert returning null for non-elements 2015-03-16 14:11:38 -04:00
Timmy Willison
5dc4616ca0 Attributes: fix failing test for new return value 2015-03-16 11:52:05 -04:00
Winston Howes
aaeed53e9f Attributes: return null when attribute does not exist
Fixes gh-2118
Close gh-2129
2015-03-16 11:21:24 -04:00
Rick Waldron
332fd941b4 Data: restore explicit data removal of private data in cleanData.
Fixes gh-2127
Closes gh-2132
2015-03-09 13:51:16 -04:00
Mr21
9b03f6df88 CSS: Support relative adjustment in any applicable unit
Fixes gh-1711
Closes gh-2011
2015-03-09 12:00:10 -04:00
Stephen Edgar
34da7d5529 Build: remove deprecated JSHint options
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.

Closes gh-2029
2015-03-08 06:30:01 +03:00
Oleg Gaidarenko
361a0d5150 Event: correct support comment
See discussion in
a5e1c9b44c
2015-03-08 06:23:49 +03:00
Rick Waldron
222ac3ad6b Data: updates to element[expando] cache
- removes descriptor allocation
  - restore simplified cache creation
  - adds early return from remove call where no data exists
  - use Object.defineProperty
  - remove unnecessary code path

Closes gh-2119
2015-03-05 14:56:54 -05:00
Rick Waldron
d702b7637a Data: move element cache to element[expando]
- avoid explicit data.discard() cleanup calls
- explicitly remove the data.events property, only when private data exists
- reduces code footprint

Fixes gh-1734
Close gh-1428
2015-03-04 17:26:47 -05:00
Jason Bedard
95fb798980 Data: avoid Object.defineProperties for nodes
Closes gh-1668
Fixes gh-1728
Ref gh-1734
Ref gh-1428
2015-03-04 14:32:24 -05:00
Oleg Gaidarenko
2380028ec4 Core: change jQuery.each and jQuery#each signatures
Fixes gh-2090
Closes gh-2097
2015-02-19 11:30:59 +03:00
Oleg Gaidarenko
a4715f4216 Ajax: remove use of jQuery#each second argument
Ref gh-2090
2015-02-19 11:30:59 +03:00
Oleg Gaidarenko
9d1b989f20 Ajax: remove deprecated extensions from ajax promise
Fixes gh-2084
Closes gh-2092
2015-02-17 09:58:45 +03:00
Oleg Gaidarenko
97ef1f2612 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

Closes gh-2033
2015-02-15 02:05:39 +03:00
Oleg Gaidarenko
4ef120d3f2 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
2015-02-15 02:01:59 +03:00
Oleg Gaidarenko
0ac28ed293 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
2015-02-15 02:00:38 +03:00
Oleg Gaidarenko
e984d1c79c Manipulation: don't auto-insert tbody
Fixes gh-1835
Closes gh-2021
2015-02-11 16:49:59 +03:00
Oleg Gaidarenko
0ea342a6a6 Manipulation: simplify html wrappers
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element

Closes gh-2031
Fixes gh-2002
2015-02-10 23:44:01 +03:00
Michał Gołębiowski
45ec73f556 CSS: save 20 bytes in css/support
Refs gh-1842
2015-02-05 02:48:32 +01:00
Michał Gołębiowski
cdfc2d092a CSS: Fix the pixelMarginRight support test in Android 2.3 2015-02-05 01:41:10 +01:00
Michał Gołębiowski
3747cc642a CSS: Restore the hack to get pixels for .css('width') 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 gh-1815
Refs gh-1820
Closes gh-1842
2015-02-04 13:51:56 +01:00
Michał Gołębiowski
a5e1c9b44c Event: Add a note about a mouseenter bug in Chrome
Refs https://code.google.com/p/chromium/issues/detail?id=333868
2015-01-25 01:09:26 +01:00
Timo Tijhof
4116914dca Core: Return empty array instead of null for parseHTML("")
Fixes gh-1997
Close gh-1998
2015-01-19 11:38:04 -05:00
Dave Methvin
d7e5fcee51 Event: HTML5 drop events inherit from MouseEvent
Fixes gh-2009
Ref gh-1925
2015-01-14 14:34:09 -05:00
Oleg Gaidarenko
74ae544483 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

Closes gh-1968
2015-01-13 08:12:51 +03:00
Leonardo Braga
85ffc6d973 Manipulation: add support to tag-hyphenated elements
Fixes #1987
Closes gh-1988
2015-01-13 07:42:59 +03:00
Leonardo Braga
534f13025a Core: add support to tag-hyphenated elements
Ref #1987
2015-01-13 07:42:52 +03:00
Dave Methvin
0ea8c32863 Core: Remove deprecated context and selector properties
Fixes gh-1908
Closes gh-2000
2015-01-11 21:11:56 -05:00
George Mauer
89ce0af2cf Ajax: $.post and $.get can now take an options object
Fixes gh-1986
Closes gh-1995
2015-01-11 20:32:38 -05:00
Richard Gibson
53aa87f3bf Core: Standardize indexOf comparisons
not present: `< 0`
present: `> -1`
at index: `=== N`

Closes gh-1984
2015-01-10 23:47:01 -05:00
Richard Gibson
4cbf02df84 Callbacks: Reduce size
(cherry picked from commit 18baae2efb)
2015-01-10 23:08:27 -05:00
Richard Gibson
32bf9178ca Callbacks: Don't abort execution on .lock()
Fixes gh-1990
Closes gh-1991

(cherry picked from commit fc7477f492)
2015-01-10 23:07:39 -05:00
Richard Gibson
0d829f0e9a Callbacks: No object starts out locked
Fixes gh-1989

(cherry picked from commit f5a8c649b5)
2015-01-10 23:04:34 -05:00
Aditya Raghavan
97cf528082 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
2015-01-05 15:34:52 -05:00
Anne-Gaelle Colom
66e1b6b8d4 Build: Remove dates from copyright notice
Closes gh-1983
2015-01-03 16:01:57 -05:00
Michał Gołębiowski
76df9e4e38 Build: Don't assume the browser environment; smoke test on Node w/ jsdom
Fixes gh-1950
Closes gh-1949
2014-12-26 13:26:46 +01:00
Nicolas HENRY
ab20d9d24f Deferred: Fix $.when with resolved deferred and progress callbacks
Fixes gh-1894
Closes gh-1915
2014-12-25 15:39:28 +03:00
Shivaji Varma
5a0867d1e9 Ajax: simplify jQuery.parseXML method
-2 bytes to the gzipped size and code looks a bit nicer

This wasn't landed to the compat branch though, since size would increase
with this cherry-pick

Closes gh-1856
2014-12-25 08:24:37 +03:00
Oleg Gaidarenko
c62486fb4c CSS: simplify "defaultDisplay" module
Closes gh-1962
2014-12-24 02:25:04 +03:00
Oleg Gaidarenko
359b03cac7 Manipulation: make wrapAll funarg execute only once
Fixes gh-1843
Closes gh-1912
2014-12-24 01:51:33 +03:00
Mike Sidorov
6f65f5faf2 Data: shave off a couple of bytes
Closes gh-1931
2014-12-24 01:44:38 +03:00
Victor Homyakov
72c4a067a9 Data: speed up $.fn.data() for camel-cased key
Fixes gh-1941
Closes gh-1952
2014-12-24 01:34:40 +03:00
Aditya Raghavan
d21edb599d Event: fix incorrect window bug with scrollTop/Left in iframes
Fixes gh-1945
Closes gh-1959
2014-12-24 00:33:00 +03:00
Ben Toews
b091fdbafa Ajax: use anchor tag for parsing urls
Fixes gh-1875
Closes gh-1880
2014-12-11 15:26:04 -05:00
Timmy Willison
cfe468f29c Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left out
Close gh-1505
2014-12-10 09:51:30 -05:00
Dave Methvin
8653068dd6 Event: Empty namespaces should be uneventfully ignored
Thanks @hamishdickson for the report!

Closes gh-1769
2014-12-09 19:59:56 -05:00
Timmy Willison
b77983173e Core: revert addition of createHTMLDocument. Thanks, Safari 8.
- Safari 8 has issues when the HTML string contains forms.
  Closing tags are not respected.
2014-12-09 18:01:33 -05:00
Timmy Willison
31c7d7fb75 Core: pass empty string to createHTMLDocument to appease IE 2014-12-09 16:37:30 -05:00
Timmy Willison
59232825aa Core: remove unnecessary support test for createHTMLDocument 2014-12-09 15:57:12 -05:00
Timmy Willison
6051609df3 Build: fix tests in AMD mode 2014-12-09 15:39:24 -05:00
Frederic Hemberger
58c2460821 Core: use document.implemenation.createHTMLDocument in jQuery.parseHTML
Close gh-1505
2014-12-09 15:19:01 -05:00
Daniel Husar
eeda11cdd6 Core: Simplify and speed up .each
Closes gh-1510
2014-12-09 01:46:22 -05:00
Michał Gołębiowski
f6302b0b53 Attributes: Use the option val hook in select val hook and simplify it
The hook is still defined; not using it could cause issues in IE<11.
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.

Fixes gh-1902
Closes gh-1901
2014-12-08 22:39:58 +01:00
Dave Methvin
bc1cb122db Callbacks: Disabling a callback should prevent firing
Thanks to @TheDistantSea for the report!

Fixes gh-1790
Closes gh-1643
2014-12-07 20:51:04 -05:00
Dave Methvin
d9ed166c86 Event: Copy detail property to jQuery.Event on native events
Fixes gh-1867
2014-12-03 15:56:50 -05:00
Dave Methvin
80022c81ce Core: Throw an error on $("#") rather than returning 0-length collection
Closes gh-1682

Thanks @goob for the issue report!
2014-12-03 14:51:24 -05:00
Bin Xin
15f4dec789 Manipulation: support data-URI scripts insertion
Fixes gh-1887
Closes gh-1888
2014-12-03 04:54:53 +03:00
Dave Methvin
7d15b4d1f1 CSS: Clean up memory leak in reliableMarginRight
Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
2014-12-02 15:01:45 -05:00
Oleg Gaidarenko
f7e60dc83d Dimensions: allow modification of coordinates argument
Fixes gh-1848
Closes gh-1853
2014-11-16 18:05:29 +03:00
Michał Gołębiowski
1bbb678949 Manipulation: Check state lost if the name is set for Android 4.0-4.3
Refs gh-1820
Closes gh-1841
2014-11-06 16:05:18 +01:00
Michał Gołębiowski
c309b95756 Misc: Adjust comments & docs to dropping IE<8 in jQuery Compat 2014-11-04 16:16:36 +01:00
Michał Gołębiowski
740e190223 Misc: Drop support for older browsers; update support comments
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.

Closes gh-1820
Refs gh-1815
2014-11-03 18:37:26 +01:00
Timmy Willison
758fd6cea9 Docs: 1.x-master branch -> compat branch; 2.x branch -> master branch 2014-11-03 12:34:45 -05:00
Dan Hart
598ed050f6 Ajax: Fix for request aborted in ajaxSend
Fixes gh-1775
Close gh-1619
2014-11-01 12:44:43 -04:00
Arthur Verschaeve
31d58c5cbb Change broken url to wayback one 2014-10-30 10:26:38 -04:00
Michał Gołębiowski
f110360f65 Deprecated: Drop size and andSelf methods
Fixes gh-1749
Closes gh-1822
2014-10-30 01:19:54 +01:00
Oleg Gaidarenko
4e7f34f629 Ajax: remove event dependency from the ajax module
Closes gh-1695
2014-10-14 21:24:05 +04:00
Jason Bedard
0cdec797de Data: avoid non-alphanumeric chars in expando properties
Ref chromium issue 378607
Ref #14839
Closes gh-1662
2014-09-26 15:03:05 +04:00
Daniel Herman
b807aedb7f 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
2014-09-04 03:28:40 -04:00
Richard Gibson
1ae025e24f Manipulation: Tolerate XMLNode host object input to getAll
Fixes #15151
Ref 25712d77c3
Closes gh-1602
2014-09-04 02:41:57 -04:00
Oleg Gaidarenko
7e09619cdf CSS: Correct typo in the comment 2014-09-03 00:20:23 +04:00
Oleg Gaidarenko
a7724186c9 CSS: Use pre-defined displays for html and body
Ref 60f546acb1
Ref 274feb53cc
2014-09-03 00:11:05 +04:00
Nazar Mokrynskyi
274feb53cc CSS: Remove use of getDefaultComputedStyle
Remove optimization to make jQuery compatible with Google's Polymer project

Closes gh-1647
Fixes #15227
2014-09-02 23:34:48 +04:00