]>
source.dussan.org Git - jquery.git/log
Richard Kraaijenhagen [Sun, 20 Sep 2015 12:41:37 +0000 (14:41 +0200)]
Docs: "npm run build" was missing from the contributing guides
Close gh-2537
Richard Gibson [Tue, 8 Sep 2015 20:03:10 +0000 (16:03 -0400)]
Tests: Use QUnit URL parameter parsing
(cherry picked from commit
f23a64d745759d358d423ba0557e8f74d65f76cc )
Richard Gibson [Tue, 8 Sep 2015 19:56:08 +0000 (15:56 -0400)]
Tests: Add dummy modules when running basic tests
Without this, other modules don't appear in the QUnit module picker.
Ref
855b0c8c288533948b257925a8906f7da3449eed
Closes gh-2582
(cherry picked from commit
f9af896bb8f4cb37b22d508443174c8edf40fc54 )
Anthony Ryan [Sat, 25 Jul 2015 06:15:02 +0000 (02:15 -0400)]
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."
(cherry-picked from
99e8ff1baa7ae341e94bb89c3e84570c7c3ad9ea )
Reverts
0ea342a6a6dce793c1b0f14f051c2573f40f4e44
Refs gh-2031
Refs gh-2002
Fixes gh-2493
Closes gh-2499
Adrian Olek [Wed, 12 Aug 2015 13:20:11 +0000 (15:20 +0200)]
Event: Use form prop so that a propHook can be used
Fixes gh-2332
Closes gh-2575
Michał Gołębiowski [Mon, 14 Sep 2015 19:14:23 +0000 (21:14 +0200)]
Tests: Account for Edge in originalEvent UA-sniffs
All other cases where Edge user agent needed to be taken into account
in tests have already been resolved.
(cherry-picked from
64fd7ef3d081b5c65d541237f73a4d89f0f0ad7b )
Fixes gh-2357
Michał Gołębiowski [Mon, 14 Sep 2015 18:22:19 +0000 (20:22 +0200)]
Tests: Fix the expando-removal test failure in IE 8
IE 8 gets the expando removed via removeAttribute so the second assertion
won't be reached. The expected assertion count had to be updated.
Fixes gh-2596
Michał Gołębiowski [Fri, 11 Sep 2015 19:44:54 +0000 (21:44 +0200)]
Build: Remove a double empty line at the end of .travis.yml
The file already had an empty line at the end, I just can't see.
Refs
06320c88af5be9cd937917282deb6eb4c4ad0443
(cherry-picked from
cea94a83c7a5c5df6da578d417e5fb26152b19e1 )
Michał Gołębiowski [Fri, 11 Sep 2015 19:35:10 +0000 (21:35 +0200)]
Build: Use double quotes in .travis.yml
.travis.yml used single quotes which is inconsistent with what we use in most
other files. Also, the file was missing an empty line at the end.
(cherry-picked from
06320c88af5be9cd937917282deb6eb4c4ad0443 )
Michał Gołębiowski [Tue, 8 Sep 2015 20:38:29 +0000 (22:38 +0200)]
Build: Drop io.js testing, test on latest Node.js
Node.js & io.js have merged, there will be no more major io.js releases.
Also, as of today io.js is officially unsupported (even if it still gets some
updates) while Node.js 4.0.0 (just released!) will be supported until 2018.
(cherry-picked from
250a1990baa571de60325ab2c52eabb399c4cf9e )
Richard Gibson [Tue, 8 Sep 2015 20:23:26 +0000 (16:23 -0400)]
Tests: Provide equal() arguments in correct order (actual, expected)
Ref
224271982eb9cd351d7db1b38c740b4e927e6f97
Ref
f5bf9bc48897e3b8f050d87d02252c8be456044a
(cherry picked from commit
d3d8d9751f3d14a545b26cf820dc1f51896a7b50 )
Conflicts:
test/unit/data.js
Jason Bedard [Tue, 8 Sep 2015 18:30:54 +0000 (20:30 +0200)]
Data: test that delete is not used on DOM nodes
(test cherry-picked from
0e982433eb94391b3e9f6838d9b8fbf9bb31abf9 )
Closes gh-2479
Sean Henderson [Thu, 3 Sep 2015 15:48:20 +0000 (17:48 +0200)]
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 /
(cherry-picked from
d4def22e4cd1c2eb2571f449e226b38384fb6d81 )
Fixes gh-2563
Closes gh-2574
Michał Gołębiowski [Tue, 8 Sep 2015 16:57:39 +0000 (18:57 +0200)]
Tests: Really fix tests in IE 8 this time
IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops.
Michał Gołębiowski [Tue, 8 Sep 2015 16:43:08 +0000 (18:43 +0200)]
Tests: Make basic tests work in IE 8
IE 8 prints tag names in upper case which was breaking some tests.
This commit is not necessary on master but has been brought here to keep
tests similar in both branches.
(cherry-picked from
5914b103627e3773418ad1fd8c3b034bf3748d51 )
Michał Gołębiowski [Tue, 8 Sep 2015 16:36:02 +0000 (18:36 +0200)]
Tests: Don't load non-basic tests when basic module is selected
When loading basic tests don't load any others to not overload Android 2.3.
The drawback is that most tests are not selectable in the module dropdown
when the basic module is seelcted.
(cherry-picked from
855b0c8c288533948b257925a8906f7da3449eed )
Refs
2c7e9c934971500a746d012c529e13ec0b560a83
Michał Gołębiowski [Wed, 29 Jul 2015 22:54:00 +0000 (00:54 +0200)]
Tests: Backport basic tests from master
Commit
2c7e9c9 added the basic test suite; these are the only tests that
are now run on Android 2.3 on master. On compat we're keeping full Android 2.3
support for now but the tests and the testswarm basic run mode have been
cherry-picked anyway to reduce the divergence between branches.
(cherry-picked from
2c7e9c934971500a746d012c529e13ec0b560a83 )
Fixes gh-2505
Closes gh-2509
Refs gh-2483
Michał Gołębiowski [Mon, 3 Aug 2015 18:28:37 +0000 (20:28 +0200)]
Build: Don't install jsdom 3 on Node.js 0.10 & 0.12 by default
jsdom 3 requires Python & Visual Studio on Windows which is a significant
barrier to contributors. Newer jsdom versions don't require pre-compiling
but work only on io.js. This commit installs the new jsdom everywhere (it
does install in old Node.js, it just won't work) and executes Node-related
tests only on newer Nodes or if a working jsdom version is installed. The
latter can be achieved by running the `old_jsdom` task.
Node.js is merging with io.js soon so this will become a smaller problem over
time.
One drawback is our Jenkins setup runs on Node 0.10 so it won't be running
Node tests anymore. We have Travis set up on io.js, though so all PRs
have those tests run. When the new LTS Node.js arrives (as it soon merges
with io.js) we should update our Jenkins infrastructure so that it runs on this
new version.
(cherry-picked from
dbb2daa8c3a458e3525d310440f4365548edc138 )
Fixes gh-2519
Closes gh-2526
Michał Gołębiowski [Mon, 3 Aug 2015 17:45:26 +0000 (19:45 +0200)]
Traversing: Don't expose jQuery.dir & jQuery.sibling
jQuery.dir & jQuery.sibling are undocumented internal APIs; they shouldn't
be exposed.
(cherry-picked from
f9ef427d355a8a2b531aed5d112dfa4f9692105c )
Fixes gh-2512
Closes gh-2525
Oleg Gaidarenko [Tue, 8 Sep 2015 01:02:51 +0000 (04:02 +0300)]
Tests: more style corrections
Provocated by jscs-dev/node-jscs@
2de68c0
Ref
c161eecce09fc66ce252d4adf64b565f726bb6d2
Oleg Gaidarenko [Tue, 8 Sep 2015 00:26:29 +0000 (03:26 +0300)]
Tests: further improvements QUnit 2.0 migration
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done
Ref
b930d14ce64937e9478405eee2828d4da091d2cb
Ref
c8d15a2f9f108e90d3651c31e4abf45415a30fde
Thomas Tortorini [Sun, 10 May 2015 23:39:26 +0000 (01:39 +0200)]
Effects: Finish should call progress
(cherry-picked from
3dd3d1357d027a487559516fcdd9064cc792edab )
Fixes gh-2283
Closes gh-2292
Yongwoo Jeon [Thu, 2 Jul 2015 06:33:38 +0000 (15:33 +0900)]
Core: Remove unnecessary parameter to jQuery#constructor
(cherry-picked from
98cee73244d55910a1ac82bcf6cae04a7f650484 )
Closes gh-2441
Batiste Bieler [Tue, 7 Jul 2015 08:38:44 +0000 (10:38 +0200)]
Build: Fix an email address of a contributor
(cherry-picked from
ab30934c1d7e023d9e80525c6e7ad4da31b543af )
Closes gh-2455
Jason Bedard [Sun, 23 Aug 2015 21:23:35 +0000 (14:23 -0700)]
Tests: do not create data cache when fetching single property
(test cherry-picked from
f5bf9bc48897e3b8f050d87d02252c8be456044a )
Refs gh-2554
Jason Bedard [Mon, 7 Sep 2015 23:32:18 +0000 (01:32 +0200)]
Data: Don't expose jQuery.acceptData
jQuery.acceptData is an undocumented internal API that shouldn't be exposed.
(cherry-picked from
224271982eb9cd351d7db1b38c740b4e927e6f97 )
Fixes gh-2555
Michał Gołębiowski [Mon, 7 Sep 2015 22:40:52 +0000 (00:40 +0200)]
Tests: lower the PHP sleep time in unreleasedXHR.html
The AJAX test performed in unreleasedXHR.html was scheduling PHP processes
sleeping for 10 minutes. When a lot of commits are tested in short intervals
this was causing build failures due to the drained php-fpm pool.
The 10 seconds sleep time should be enough for this test.
(cherry-picked from
02e10082b25df3b47b6b98e3b35399712795b7df )
Refs
62acda819f9b6fba9263d0b613e15285807b23a7
Michał Gołębiowski [Mon, 7 Sep 2015 21:22:56 +0000 (23:22 +0200)]
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.
(cherry-picked from
14c0fe44328f22debb5b531d2b671923658542b3 )
Refs
3d7ce0a65f0707ff01a851822e57ba80adcff075
Daniel Nill [Fri, 7 Aug 2015 02:49:14 +0000 (19:49 -0700)]
Serialize: Handle arrays with null values
(cherry-picked from
3d7ce0a65f0707ff01a851822e57ba80adcff075 )
Closes gh-2436
Reed Loden [Mon, 24 Aug 2015 19:24:56 +0000 (12:24 -0700)]
Build: Update grunt-contrib-uglify because of a security issue in uglify
Update grunt-contrib-uglify dependency to v0.9.2 in order to
avoid a security issue fixed in uglify-js v2.4.24.
https://github.com/mishoo/UglifyJS2/issues/751
https://zyan.scripts.mit.edu/blog/backdooring-js/
(cherry-picked from
835e9218beef8f0c559da314fac01cb85dacb740 )
Closes gh-2556
Thomas Tortorini [Sat, 27 Jun 2015 15:18:21 +0000 (17:18 +0200)]
Effects: Remove additional parameters of easings
(cherry-picked from
b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb )
Fixes gh-2367
Closes gh-2376
Timmy Willison [Tue, 16 Jun 2015 15:24:21 +0000 (11:24 -0400)]
Build: space between curly and paren is optional
Ref
63a577aa0bcb439c1730c3825407d86c128b17be
Fixes gh-2399
Close gh-2400
Oleg Gaidarenko [Thu, 3 Sep 2015 01:03:44 +0000 (04:03 +0300)]
Tests: Do not define two modules with the same name
Ref
7aa46e0df8a673e6b00550bbbbed21eed50108b7
Fixes gh-2437
Oleg Gaidarenko [Thu, 3 Sep 2015 01:46:31 +0000 (04:46 +0300)]
Tests: Partially use new qunit interface
http://qunitjs.com/upgrade-guide-2.x/
For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package
However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used
Ref
b930d14ce64937e9478405eee2828d4da091d2cb
Fixes gh-2540
Oleg Gaidarenko [Thu, 3 Sep 2015 00:03:12 +0000 (03:03 +0300)]
Ajax: do not quote "throws" option - use dot notation instead
Ref
c9cf250daafe806818da1dd207a88a8e94a4ad16
Fixes gh-2571
Oleg Gaidarenko [Wed, 2 Sep 2015 23:52:01 +0000 (02:52 +0300)]
Build: Update jscs and lint files
Ref
10fdad742a2a6aa9f0e00b3e04fc5264797c53c7
Fixes gh-2056
Oleg Gaidarenko [Wed, 2 Sep 2015 23:51:00 +0000 (02:51 +0300)]
Michał Gołębiowski [Tue, 28 Jul 2015 10:58:44 +0000 (12:58 +0200)]
Core: Support non-browser environments
Fixes gh-2133
Fixes gh-2501
Closes gh-2504
Refs gh-1950
Refs gh-1949
Refs gh-2397
Refs gh-1537
Refs gh-2504
Refs
842958e7aecd0d75a7ee9e2aaec83457701aa2f3
Michał Gołębiowski [Tue, 28 Jul 2015 10:23:28 +0000 (12:23 +0200)]
Core:CSS: Attach test nodes to documentElement, not body
Attaching test divs to document.documentElement instead of document.body
used to cause issues in jQuery 1.x; jQuery Compat doesn't execute any tests
on document ready, though so it could be aligned with master.
This makes jQuery Compat support tests work correctly even if jQuery is
included & used in head before body even exists - making it similar to
the master behavior.
Fixes gh-2502
Richard Gibson [Wed, 16 Jan 2013 05:14:57 +0000 (00:14 -0500)]
Event: Reduce differences from master
Richard Gibson [Mon, 10 Aug 2015 14:10:29 +0000 (10:10 -0400)]
Event: Reduce differences from master
Michał Gołębiowski [Mon, 3 Aug 2015 17:31:25 +0000 (19:31 +0200)]
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
Michał Gołębiowski [Sat, 1 Aug 2015 23:48:54 +0000 (01:48 +0200)]
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.
(cherry-picked from
669cb16d763cb5486dadd56ec15a17b2b0303571 )
Closes gh-2520
Oleg Gaidarenko [Thu, 30 Jul 2015 17:48:26 +0000 (20:48 +0300)]
Tests: don't use deprecated argument in test declaration
Ref
aabe94edb4880c75eeebc5b5b5d66a9ad17008fe
Bruno Pérel [Thu, 30 Jul 2015 13:34:34 +0000 (15:34 +0200)]
Docs: Fix various spelling mistakes
(cherry-picked from
360a4780339b7f412b75ad8a06dca7f39616f654 )
Closes gh-2487
Jason Bedard [Sun, 19 Jul 2015 00:47:31 +0000 (17:47 -0700)]
Data: backport cleanData tests from gh-2480
The tests needed a slight change as on compat we're not removing the
value for expando but setting it to undefined.
Refs gh-2480
Michał Gołębiowski [Mon, 5 May 2014 18:04:03 +0000 (20:04 +0200)]
Ajax: Account for Android 2.3 not firing window.onerror on script errors
Android 2.3 doesn't fire the window.onerror handler, just accept the reality
there and skip the test.
(cherry-picked from
6044fb6a7384aec85906949835ef9a58114896ce )
Refs gh-1573
Refs gh-1786
Refs jquery/jquery.com#108
Closes gh-2458
Michał Gołębiowski [Mon, 27 Jul 2015 20:30:19 +0000 (22:30 +0200)]
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.
(cherry-picked from
2792845534e36c39dbb9c8369ed96aaefa560081 )
Michał Gołębiowski [Mon, 27 Jul 2015 20:14:48 +0000 (22:14 +0200)]
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.
(cherry-picked from
93bee4701d14202045a88aab156da0daf9418430 )
Refs gh-2482
Thomas Tortorini [Thu, 25 Jun 2015 04:18:04 +0000 (06:18 +0200)]
Core: .each/.map should accept an undefined/null value
(cherry-picked from
bf48c21d225c31f0f9b5441d95f73615ca3dcfdb )
Fixes gh-2267
Closes gh-2363
Michał Gołębiowski [Mon, 20 Jul 2015 18:22:34 +0000 (20:22 +0200)]
Core: Add a support comment for Safari 8
Related issue: https://bugs.webkit.org/show_bug.cgi?id=137337
Thanks @phistuck!
(cherry-picked from
d24275372624bac897c4131fd1507a58c09a1483 )
Refs
cfe468f29c4cbe1a457d0feb17dec90dcfd7c280
Timmy Willison [Mon, 13 Jul 2015 19:01:33 +0000 (15:01 -0400)]
Release: properly set the dist remote when it's a real release
Timmy Willison [Mon, 13 Jul 2015 18:45:40 +0000 (14:45 -0400)]
Build: just tack on +compat to versions that may include labels
Oleg Gaidarenko [Fri, 10 Jul 2015 17:58:43 +0000 (20:58 +0300)]
Ajax: Remove jsonp callbacks through "jQuery#removeProp" method
Fixes gh-2323
Closes gh-2464
Ref
a2ae215d999637e8d9d0906abcbf6b1ca35c8e6e
Timmy Willison [Sat, 11 Jul 2015 15:41:06 +0000 (11:41 -0400)]
Build: add mailmap entry
Timmy Willison [Wed, 8 Jul 2015 17:42:33 +0000 (13:42 -0400)]
Build: update AUTHORS.txt
Timmy Willison [Wed, 8 Jul 2015 17:31:09 +0000 (13:31 -0400)]
Effects: fix failing tests in IE8
Michał Gołębiowski [Mon, 22 Jun 2015 23:44:18 +0000 (01:44 +0200)]
CSS: Add an integration test for issue gh-1764
(cherry-picked from
8887106702baa69ed80baa65c5a249786bffc77e )
Refs gh-1764
Refs gh-2401
Closes gh-2425
Michał Gołębiowski [Wed, 1 Jul 2015 23:20:18 +0000 (01:20 +0200)]
CSS: Make .css("width") & .css("height") return fractional values
Fixes gh-1724
Closes gh-2454
Refs gh-2439
Timmy Willison [Mon, 6 Jul 2015 21:10:26 +0000 (17:10 -0400)]
Deferred: pass lint in new catch tests
Timmy Willison [Mon, 6 Jul 2015 14:13:01 +0000 (10:13 -0400)]
Deferred: add .catch handler
Fixes gh-2102
Michał Gołębiowski [Wed, 1 Jul 2015 21:21:21 +0000 (23:21 +0200)]
CSS: Improve a comment explaining IE11 fullscreen bug
(cherry-picked from
8e4aac8cb03ffb88373ea99629165d82ff5eccdd )
Michał Gołębiowski [Sun, 28 Jun 2015 20:42:03 +0000 (22:42 +0200)]
Corey Frang [Sat, 27 Jun 2015 00:30:52 +0000 (20:30 -0400)]
Tests: Fix merge conflict
Introduced in
6b10f9d7e9fb6d062d2bbda49196544cd059b05c originally.
Had a rebase conflict that I fixed but forgot to ⌘-s. ☹
Corey Frang [Sat, 27 Jun 2015 00:20:48 +0000 (20:20 -0400)]
Tests: Lower the checks rounding error
The CSS value rounding error was causig failures on FF and IE.
Corey Frang [Tue, 19 May 2015 21:48:42 +0000 (17:48 -0400)]
Effects: Adding unit tests for jQuery.Animation
Closes gh-2340
(cherry picked from commit
b3b2d6c3dd51fbdc69e1942e9af75cc99a1834c2 )
Conflicts:
src/effects.js
Corey Frang [Mon, 18 May 2015 21:11:21 +0000 (17:11 -0400)]
Effects: Add tests for jQuery.Tween
Conflicts:
src/selector-native.js
test/index.html
test/unit/effects.js
Thomas Tortorini [Thu, 25 Jun 2015 00:54:35 +0000 (02:54 +0200)]
CSS: make the getStyles function more readable
(cherry-picked from
3a0d582cf63b6e8f77150d9c38d2bf34d0c7790e )
Closes gh-2393
Gilad Peleg [Tue, 23 Jun 2015 16:42:25 +0000 (19:42 +0300)]
Attributes: fix IE8 issues
Follow-up for
d0388e9e806ca3b30e7bbaaa1c336b7c98dc5f88
Gilad Peleg [Tue, 23 Jun 2015 04:01:06 +0000 (07:01 +0300)]
Core: organize prop & attr code to be similar
Ref
5153b5334eb2c8317372b46209bd9d092a91afdc
Closes gh-2426
Martin Naumann [Tue, 16 Jun 2015 21:55:21 +0000 (23:55 +0200)]
CSS: Work around an IE11 fullscreen dimensions bug
(cherry-picked from
90d828bad0d6d318d73d6cf6209d9dc7ac13878c )
Fixes gh-1764
Closes gh-2401
Michał Gołębiowski [Wed, 17 Jun 2015 17:27:06 +0000 (19:27 +0200)]
Core: Change support.ownLast to support.ownFirst
jQuery.support.ownLast was the only support test that was supposed
to be false when it succeeded. It was confusing.
Fixes gh-2406
Closes gh-2408
Timmy Willison [Tue, 16 Jun 2015 17:24:12 +0000 (13:24 -0400)]
Offset: add tests for hidden elements + scroll
- Also add comments to hidden/disconnected tests noting
this is to ensure consistency between branches
Timmy Willison [Tue, 16 Jun 2015 16:49:22 +0000 (12:49 -0400)]
Offset: getBounding doesn't return width/height in IE8. Fixes test.
Timmy Willison [Tue, 16 Jun 2015 16:23:43 +0000 (12:23 -0400)]
Offset: no need to check for ownerDocument
Timmy Willison [Tue, 16 Jun 2015 16:08:57 +0000 (12:08 -0400)]
Offset: revert to jQuery.contains for IE8's sake (compat only)
- getClientRects() throws on disconnected elements in IE8 only
Timmy Willison [Tue, 16 Jun 2015 15:21:58 +0000 (11:21 -0400)]
Offset: return before getBoundingClientRect to avoid error in IE8-11
Timmy Willison [Mon, 15 Jun 2015 15:02:08 +0000 (11:02 -0400)]
Offset: return zeros for disconnected/hidden elements
Fixes gh-2310
Close gh-2396
Timmy Willison [Mon, 15 Jun 2015 14:56:29 +0000 (10:56 -0400)]
Revert "Offset: allow offset setter to throw for disconnected elements"
This reverts commit
0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3 .
Michał Gołębiowski [Tue, 16 Jun 2015 14:25:16 +0000 (16:25 +0200)]
Tests: Remove test/data/ua.txt
The file was used by $.browser tests but $.browser now doesn't exists
in Core and this file hasn't been updated for a few years.
(cherry-picked from
e831856490d2212bdbaff4cd76137b93ccf26d92 )
Fixes gh-2398
Michał Gołębiowski [Tue, 16 Jun 2015 12:45:30 +0000 (14:45 +0200)]
Tests: Remove Edge version from the user agent
The version will change in the future, matching by /edge\//i is enough
(cherry-picked from
5a1217e40193c8884155ccaf415091d326ddb52a )
Refs
8e111df641cca3e1b75b31a1971bfc89014b4ded
Michał Gołębiowski [Sun, 14 Jun 2015 00:09:34 +0000 (02:09 +0200)]
Tests: Add Microsoft Edge results (from Windows 10 build 10130)
The Microsoft Edge user agent contains "Chrome" so it needs to be checked
before Chrome.
Refs
8e111df641cca3e1b75b31a1971bfc89014b4ded
Michał Gołębiowski [Sun, 14 Jun 2015 00:05:05 +0000 (02:05 +0200)]
Tests: Correct a typo in the regex matching Safari 8
(cherry-picked from
c17543fd3c14ff86c448dbb90f9fe1223661a73b )
Michał Gołębiowski [Sat, 13 Jun 2015 22:34:05 +0000 (00:34 +0200)]
Manipulation: Remove an internal argument to the remove method
(cherry-picked from
349edbd6c53aa93d4fd207d3c0c4c24a7b0314dd )
Fixes gh-2301
Closes gh-2366
Michał Gołębiowski [Mon, 1 Jun 2015 19:34:57 +0000 (21:34 +0200)]
Event: Remove an internal argument to the on method
(cherry-picked from
04a29696e5b176ac66401120e433d52425222f0f )
Refs gh-2301
Michał Gołębiowski [Mon, 1 Jun 2015 21:25:38 +0000 (23:25 +0200)]
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"
}
(partially cherry-picked from
bb026fc12c3c2ad37f47f0919e484bddcdc3d291 )
Fixes gh-1693
Michał Gołębiowski [Mon, 1 Jun 2015 21:25:38 +0000 (23:25 +0200)]
Build: Update grunt-contrib-jshint
JSON needed to be added to JSHint globals as it's not implied by the es3
setting and yet all our supported browsers have it implemented.
(cherry-picked from
1556c4661af647e355a9a5c0a814012955e231bc )
Oleg Gaidarenko [Thu, 11 Jun 2015 13:25:36 +0000 (16:25 +0300)]
Oleg Gaidarenko [Fri, 5 Jun 2015 19:23:59 +0000 (22:23 +0300)]
Event: correct an unfinished comment
Oleg Gaidarenko [Fri, 5 Jun 2015 19:21:26 +0000 (22:21 +0300)]
Event: remove preDispatch hook & simplify "simulate" signature
Ref
3655c4e1908cc3ee49487e7e26e8cfca9fe8146d
Michał Gołębiowski [Mon, 1 Jun 2015 17:55:18 +0000 (19:55 +0200)]
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.
Refs
02a9d9f94b623ea8664b7b39fd57feb7de6c6a14
Gilad Peleg [Tue, 19 May 2015 11:05:21 +0000 (14:05 +0300)]
Build: Update the license attribute
Specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
(cherry-picked from
8e92e1ea3c533f3be82c99bbafaaf74b5bdedecc )
Fixes gh-2331
Closes gh-2330
Michał Gołębiowski [Sat, 30 May 2015 17:09:32 +0000 (19:09 +0200)]
Ajax: Remove remnants of the load event alias handling
(cherry-picked from
38a669735d08bcbd28cfb0d77eee82c67aa89eeb )
Refs
0705be475092aede1eddae01319ec931fb9c65fc
Refs gh-2287
Closes gh-2362
Michał Gołębiowski [Mon, 11 May 2015 21:23:09 +0000 (23:23 +0200)]
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.
(cherry-picked from
d471842b3e3af83c9a1be06b5d16f75bfa96af8c )
Fixes gh-2015
Closes gh-2298
Oleg Gaidarenko [Wed, 20 May 2015 15:14:13 +0000 (18:14 +0300)]
Event: improve originalEvent hack
Ref
6df669f0fb87cd9975a18bf6bbe3c3548afa4fee
Ref gh-2336
Oleg Gaidarenko [Fri, 29 May 2015 16:45:02 +0000 (19:45 +0300)]
Docs: remove redundant instruction from the readme
(Cherry-picked from
3c9277086742fe3a38a268ef97184be34e294655 )
Thanks @elas7
Fixes gh-2359
Oleg Gaidarenko [Tue, 19 May 2015 15:47:24 +0000 (18:47 +0300)]
Build: update requirejs dependency to 2.1.17
Fixes gh-2290
Ref
a644101ed04d0beacea864ce805e0c4f86ba1cd1
Michał Gołębiowski [Tue, 19 May 2015 12:06:15 +0000 (14:06 +0200)]
Ajax: Fix the XHR fallback logic for IE8
The logic for IE8 has been incorrectly reversed: every non-local request
outside of the whitelist was run via the native XHR. This commit reverses
this logic and adds back a fallback to the ActiveX XHR if the native one
fails even after the regex detection.
Refs
61f812b7e7b88dd6e0078c241e4c88905ea51562
Oleg Gaidarenko [Sat, 9 May 2015 18:39:49 +0000 (21:39 +0300)]
Event: remove deprecated event aliases
(Cherry-picked from
0705be475092aede1eddae01319ec931fb9c65fc )
Fixes gh-2286
Closes gh-2287
Ref trac-11733
Oleg Gaidarenko [Tue, 19 May 2015 10:12:11 +0000 (13:12 +0300)]
Attributes: don't test SVG CSS-class manipulation in IE8
Ref
20aaed367f993f3c2aa204183d82d0d73efa114f