]> source.dussan.org Git - jquery.git/log
jquery.git
9 years agoCore: use interactive to evaluate dom ready, barring IE9-10 2678/head
Timmy Willison [Wed, 28 Oct 2015 17:54:04 +0000 (13:54 -0400)]
Core: use interactive to evaluate dom ready, barring IE9-10

Fixes gh-2100

9 years agoAttributes: remove flakey test for selected attribute
Timmy Willison [Mon, 26 Oct 2015 15:38:04 +0000 (11:38 -0400)]
Attributes: remove flakey test for selected attribute

- The change is already covered by the "checked" test.
  Since this test is redundant, just drop it.

9 years agoTests: Post-Summit cleanup
Richard Gibson [Sun, 25 Oct 2015 19:25:56 +0000 (15:25 -0400)]
Tests: Post-Summit cleanup

Ref 67d7a2eefee768b59eb3d51cb1fb2c671873e58a
Ref c752a5030bc00eb5b45dea9c28963f824a5c4f44

9 years agoTests: Use standard external domain name
Richard Gibson [Fri, 23 Oct 2015 15:55:52 +0000 (11:55 -0400)]
Tests: Use standard external domain name

Ref 01c360f96390ff16edfe65ef3b34e167087ef645

(cherry picked from commit 36806891657b0a3b7c4a12d9698f2ebf552fd712)

9 years agoAttributes: do not set properties to false when removing booleans 2665/head
Timmy Willison [Sun, 18 Oct 2015 21:21:41 +0000 (17:21 -0400)]
Attributes: do not set properties to false when removing booleans

Fixes gh-1759

9 years agoCore: make isNumeric limited to strings and numbers 2663/head
Timmy Willison [Sun, 18 Oct 2015 19:50:43 +0000 (15:50 -0400)]
Core: make isNumeric limited to strings and numbers

Fixes gh-2662

9 years agoBuild: Add "deprecated" to the Testswarm module list
Dave Methvin [Tue, 20 Oct 2015 16:30:01 +0000 (12:30 -0400)]
Build: Add "deprecated" to the Testswarm module list

Ref #1740

Yeah.

9 years agoTests: Add Safari 9 support tests results
Michał Gołębiowski [Sun, 18 Oct 2015 21:26:56 +0000 (17:26 -0400)]
Tests: Add Safari 9 support tests results

9 years agoCSS: Correct misrepresentation of "auto" horizontal margins as 0
Richard Gibson [Fri, 8 May 2015 03:16:18 +0000 (23:16 -0400)]
CSS: Correct misrepresentation of "auto" horizontal margins as 0

Fixes gh-2237
Closes gh-2276

(cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c)

Conflicts:
src/css.js
src/css/support.js
test/unit/support.js

9 years agoAttributes: fix tabIndex on <img> in IE11
Joelle Fleurantin [Sun, 18 Oct 2015 20:20:25 +0000 (16:20 -0400)]
Attributes: fix tabIndex on <img> in IE11

Fixes gh-2647
Closes gh-2664

9 years agoCSS: use isFinite in place of redundant isNumeric
Timmy Willison [Sun, 18 Oct 2015 19:12:35 +0000 (15:12 -0400)]
CSS: use isFinite in place of redundant isNumeric

9 years agoCore: add unit test for isPlainObject(Symbol)
Liza Ramo [Sun, 18 Oct 2015 19:00:38 +0000 (15:00 -0400)]
Core: add unit test for isPlainObject(Symbol)

Fixes #2645
Closes #2661

9 years agoCSS: fix AMD mode for the new showHide module
Timmy Willison [Sun, 18 Oct 2015 19:09:59 +0000 (15:09 -0400)]
CSS: fix AMD mode for the new showHide module

9 years agoOffset: allow small differences in offset.top
Joelle Fleurantin [Sun, 18 Oct 2015 16:45:41 +0000 (12:45 -0400)]
Offset: allow small differences in offset.top

Fixes gh-2590

9 years agoTests: Change quotes according to style guidelines
Julian Alexander Murillo [Thu, 21 May 2015 04:59:06 +0000 (23:59 -0500)]
Tests: Change quotes according to style guidelines

Close gh-2339

9 years agoEvent: Fix delegated radio events when arrow keys are used
Dave Methvin [Mon, 28 Sep 2015 02:05:57 +0000 (22:05 -0400)]
Event: Fix delegated radio events when arrow keys are used

Fixes gh-2343, gh-2410
Close gh-2617

9 years agoAttributes: removeClass() -> attr("class", "")
Thomas Tortorini [Sun, 11 Oct 2015 08:22:06 +0000 (10:22 +0200)]
Attributes: removeClass() -> attr("class", "")

- Classes simpliciation

Close gh-2465

9 years agoAttributes: Use simpler boolean check vs a function call
Dave Methvin [Wed, 14 Oct 2015 19:07:53 +0000 (15:07 -0400)]
Attributes: Use simpler boolean check vs a function call

Ref gh-2491

9 years agoAttributes: Remove undocumented .toggleClass( boolean ) signature
Dave Methvin [Fri, 25 Sep 2015 21:11:01 +0000 (17:11 -0400)]
Attributes: Remove undocumented .toggleClass( boolean ) signature

Fixes gh-2491
Close gh-2618

9 years agoCSS: Make show/hide/toggle methods a module
Dave Methvin [Fri, 9 Oct 2015 19:52:29 +0000 (15:52 -0400)]
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

9 years agoDeprecated: fix amd mode for the deprecated module
Timmy Willison [Sun, 18 Oct 2015 15:02:16 +0000 (11:02 -0400)]
Deprecated: fix amd mode for the deprecated module

9 years agoTests: Keep test iframes around for assertions
Richard Gibson [Sat, 17 Oct 2015 21:40:30 +0000 (17:40 -0400)]
Tests: Keep test iframes around for assertions

Ref 44f8239d3f9d09d81e2885e9ae7e044277b67341
Ref gh-2644
Ref gh-2390

9 years agoCore: make isNumeric test work on Symbol
Liza Ramo [Sat, 17 Oct 2015 20:48:57 +0000 (16:48 -0400)]
Core: make isNumeric test work on Symbol

Ref #2645
Closes #2657

9 years agoBuild: update Sizzle to 2.2.1
Oleg Gaidarenko [Sat, 17 Oct 2015 18:17:20 +0000 (14:17 -0400)]
Build: update Sizzle to 2.2.1

Ref #2644 - `selector` module in Edge - Waiting for Sizzle update
Fixes #2390

9 years agoTests: Account for array-like objects in jQuery.grep
Aurelio De Rosa [Sun, 20 Sep 2015 23:05:50 +0000 (00:05 +0100)]
Tests: Account for array-like objects in jQuery.grep

Closes gh-2605

9 years agoTests: fix code style issues
Oleg Gaidarenko [Mon, 12 Oct 2015 22:22:57 +0000 (01:22 +0300)]
Tests: fix code style issues

Follow-up for 8a734344f2566dab5b8d34ecd79ae81ebd8843c5

9 years agoCore: Support Symbol wrapper objects in jQuery.type
Christian Grete [Fri, 2 Oct 2015 22:28:34 +0000 (00:28 +0200)]
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

9 years agoAjax: don't expect cross-origin tests run in envs which not support it
Oleg Gaidarenko [Mon, 12 Oct 2015 21:00:38 +0000 (00:00 +0300)]
Ajax: don't expect cross-origin tests run in envs which not support it

Follow-up to b078a62013782c7424a4a61a240c23c4c0b42614

9 years agoAjax: improve content-type detection
Oleg Gaidarenko [Mon, 12 Oct 2015 16:56:46 +0000 (19:56 +0300)]
Ajax: improve content-type detection

Fixes gh-2584
Closes gh-2643

9 years agoAjax: correct indentation
Oleg Gaidarenko [Mon, 12 Oct 2015 17:34:16 +0000 (20:34 +0300)]
Ajax: correct indentation

As noted by @arthurvr

Follow-up for b078a62013782c7424a4a61a240c23c4c0b42614

9 years agoEvent: fix incorrect test
Oleg Gaidarenko [Mon, 12 Oct 2015 15:37:04 +0000 (18:37 +0300)]
Event: fix incorrect test

Which was revealed by 03eaadb131df925d1072afd2496ee3b41d2f1fc6 commit,
also do not try to fix typos in data/jquery version

9 years agoBuild: Fixed issue with base path that contain 'var'
Martin Naumann [Mon, 12 Oct 2015 14:02:25 +0000 (16:02 +0200)]
Build: Fixed issue with base path that contain 'var'

Remove the cwd from the paths, so the regex doesn't kick in on "var"

Fixes gh-2450
Closes gh-2641

9 years agoTests:Docs: Fix various typos
Gary Ye [Fri, 18 Sep 2015 16:59:48 +0000 (09:59 -0700)]
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

9 years agoEvent: Move .bind() and .delegate() to deprecated
Dave Methvin [Thu, 1 Oct 2015 20:03:10 +0000 (16:03 -0400)]
Event: Move .bind() and .delegate() to deprecated

Fixes gh-2288
Closes gh-2624

9 years agoTests: Add .extend test for defined accessor properties
Connor Atherton [Fri, 25 Sep 2015 19:02:53 +0000 (12:02 -0700)]
Tests: Add .extend test for defined accessor properties

Closes gh-2615

9 years agoAjax: Mitigate possible XSS vulnerability
Oleg Gaidarenko [Thu, 10 Sep 2015 10:40:00 +0000 (13:40 +0300)]
Ajax: Mitigate possible XSS vulnerability

Proposed by @jaubourg

Fixes gh-2432
Closes gh-2588

9 years agoDocs: "npm run build" was missing from the contributing guides
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

9 years agoTests: Use QUnit URL parameter parsing
Richard Gibson [Tue, 8 Sep 2015 20:03:10 +0000 (16:03 -0400)]
Tests: Use QUnit URL parameter parsing

9 years agoTests: Add dummy modules when running basic tests
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

9 years agoManipulation: Don't provide the parser with sloppy table markup
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."

Reverts 0ea342a6a6dce793c1b0f14f051c2573f40f4e44

Refs gh-2031
Refs gh-2002
Fixes gh-2493
Closes gh-2499

9 years agoData: Combine register and cache methods
Jason Bedard [Mon, 17 Aug 2015 03:03:27 +0000 (20:03 -0700)]
Data: Combine register and cache methods

Closes gh-2553

9 years agoAjax:Attributes:CSS:Manipulation: Reduce Android 2.3 support 2581/head
Michał Gołębiowski [Mon, 20 Jul 2015 17:24:46 +0000 (19:24 +0200)]
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

9 years agoTests: Account for Edge in originalEvent UA-sniffs
Michał Gołębiowski [Mon, 14 Sep 2015 19:13:44 +0000 (21:13 +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.

Fixes gh-2357

9 years agoBuild: Remove a double empty line at the end of .travis.yml
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

9 years agoBuild: Use double quotes in .travis.yml
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.

9 years agoBuild: Drop io.js testing, test on latest Node.js
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.

9 years agoTests: Provide equal() arguments in correct order (actual, expected)
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

9 years agoData: avoid using delete on DOM nodes
Jason Bedard [Sat, 18 Jul 2015 18:27:11 +0000 (11:27 -0700)]
Data: avoid using delete on DOM nodes

Closes gh-2479

9 years agoManipulation: Switch rnoInnerhtml to a version more performant in IE
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/

Fixes gh-2563
Closes gh-2574

9 years agoTests: Really fix tests in IE 8 this time
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.

This commit is not necessary on master but has been brought here to keep
tests similar in both branches.

(cherry-picked from 1b48eef4caf7fa3aba0ee1a3473e0d46487d20ea)

9 years agoTests: Make basic tests work in IE 8
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.

9 years agoTests: Don't load non-basic tests when basic module is selected
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.

Refs 2c7e9c934971500a746d012c529e13ec0b560a83

9 years agoTests: Add simple tests for Android 2.3
Michał Gołębiowski [Wed, 29 Jul 2015 22:54:00 +0000 (00:54 +0200)]
Tests: Add simple tests for Android 2.3

Fixes gh-2505
Closes gh-2509
Refs gh-2483

9 years agoBuild: Don't install jsdom 3 on Node.js 0.10 & 0.12 by default
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.

Fixes gh-2519
Closes gh-2526

9 years agoTraversing: Don't expose jQuery.dir & jQuery.sibling
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.

Fixes gh-2512
Closes gh-2525

9 years agoTests: more style corrections
Oleg Gaidarenko [Tue, 8 Sep 2015 00:28:56 +0000 (03:28 +0300)]
Tests: more style corrections

Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546

Closes gh-2578

9 years agoTests: further improvements QUnit 2.0 migration
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

9 years agoEffects: Finish should call progress
Thomas Tortorini [Sun, 10 May 2015 23:39:26 +0000 (01:39 +0200)]
Effects: Finish should call progress

Fixes gh-2283
Closes gh-2292

9 years agoCore: Remove unnecessary parameter to jQuery#constructor
Yongwoo Jeon [Thu, 2 Jul 2015 06:33:38 +0000 (15:33 +0900)]
Core: Remove unnecessary parameter to jQuery#constructor

Closes gh-2441

9 years agoBuild: Fix an email address of a contributor
Batiste Bieler [Tue, 7 Jul 2015 08:38:44 +0000 (10:38 +0200)]
Build: Fix an email address of a contributor

Closes gh-2455

9 years agoData: do not create data cache when fetching single property
Jason Bedard [Sun, 23 Aug 2015 21:23:35 +0000 (14:23 -0700)]
Data: do not create data cache when fetching single property

Closes gh-2554

9 years agoBuild: put back "lint" command to the "dev" list
Oleg Gaidarenko [Mon, 7 Sep 2015 23:33:43 +0000 (02:33 +0300)]
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

9 years agoData: Don't expose jQuery.acceptData
Jason Bedard [Tue, 25 Aug 2015 02:56:57 +0000 (19:56 -0700)]
Data: Don't expose jQuery.acceptData

jQuery.acceptData is an undocumented internal API that shouldn't be exposed.

Fixes gh-2555

9 years agoTests: lower the PHP sleep time in unreleasedXHR.html
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.

Refs 62acda819f9b6fba9263d0b613e15285807b23a7

9 years agoSerialize: Fix object detection
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.

Refs 3d7ce0a65f0707ff01a851822e57ba80adcff075

9 years agoSerialize: Handle arrays with null values
Daniel Nill [Fri, 7 Aug 2015 02:49:14 +0000 (19:49 -0700)]
Serialize: Handle arrays with null values

Closes gh-2436

9 years agoBuild: Update grunt-contrib-uglify because of a security issue in uglify
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/

Closes gh-2556

9 years agoEffects: Remove additional parameters of easings
Thomas Tortorini [Sat, 27 Jun 2015 15:18:21 +0000 (17:18 +0200)]
Effects: Remove additional parameters of easings

Fixes gh-2367
Closes gh-2376

9 years agoAjax: do not quote "throws" option - use dot notation instead
Oleg Gaidarenko [Thu, 3 Sep 2015 00:01:28 +0000 (03:01 +0300)]
Ajax: do not quote "throws" option - use dot notation instead

Fixes gh-2571
Closes gh-2542

9 years agoBuild: correct style tests files which could be automatically corrected
Oleg Gaidarenko [Wed, 2 Sep 2015 23:53:29 +0000 (02:53 +0300)]
Build: correct style tests files which could be automatically corrected

9 years agoBuild: correct jscs paths
Oleg Gaidarenko [Wed, 2 Sep 2015 23:52:52 +0000 (02:52 +0300)]
Build: correct jscs paths

9 years agoBuild: Update jscs and lint files
Oleg Gaidarenko [Sun, 16 Aug 2015 06:59:58 +0000 (09:59 +0300)]
Build: Update jscs and lint files

Fixes gh-2056

9 years agoTests: do not define two modules with the same name
Oleg Gaidarenko [Sun, 16 Aug 2015 06:06:13 +0000 (09:06 +0300)]
Tests: do not define two modules with the same name

Fixes gh-2437

9 years agoTests: partially use new qunit interface
Oleg Gaidarenko [Sun, 16 Aug 2015 03:45:28 +0000 (06:45 +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

Fixes gh-2540

9 years agoEvent: Only check elements for delegation matches 2566/head 2567/head
Richard Gibson [Wed, 16 Jan 2013 05:14:57 +0000 (00:14 -0500)]
Event: Only check elements for delegation matches

Closes gh-2529
Ref trac-13208
(cherry picked from commit fc2ba2e1361126c39f955437ee025cfca3bffa65)

9 years agoCore: Don't expose jQuery.access 2524/head
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

9 years agoBuild: Add a comment explaining why the es3 option is needed
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.

Closes gh-2520

9 years agoTests: don't use deprecated argument in test declaration
Oleg Gaidarenko [Wed, 29 Jul 2015 15:10:04 +0000 (18:10 +0300)]
Tests: don't use deprecated argument in test declaration

Closes gh-2507

9 years agoDocs: Fix various spelling mistakes
Bruno Pérel [Thu, 30 Jul 2015 13:34:34 +0000 (15:34 +0200)]
Docs: Fix various spelling mistakes

Closes gh-2487

9 years agoData: remove user data in cleanData
Jason Bedard [Sun, 19 Jul 2015 00:47:31 +0000 (17:47 -0700)]
Data: remove user data in cleanData

Fixes gh-2503
Closes gh-2480

9 years agoAjax: Account for Android 2.3 not firing window.onerror on script errors
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.

Refs gh-1573
Refs gh-1786
Refs jquery/jquery.com#108
Closes gh-2458

9 years agoEvent: Update support comments for mouseenter/mouseleave implementation
Michał Gołębiowski [Mon, 27 Jul 2015 20:29:38 +0000 (22:29 +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.

9 years agoCore: Adjust comments & tests after dropping Safari 6 support
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.

Refs gh-2482

9 years agoCore: .each/.map should accept an undefined/null value
Thomas Tortorini [Thu, 25 Jun 2015 04:18:04 +0000 (06:18 +0200)]
Core: .each/.map should accept an undefined/null value

Fixes gh-2267
Closes gh-2363

9 years agoCore: Add a support comment for Safari 8
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!

Refs cfe468f29c4cbe1a457d0feb17dec90dcfd7c280

9 years agoBuild: Acknowledge Android 2.3 is not ES5-compatible
Michał Gołębiowski [Sun, 19 Jul 2015 22:55:48 +0000 (00:55 +0200)]
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

9 years agoSelector: Define jQuery.uniqueSort in selector-native too
Marek Lewandowski [Mon, 13 Jul 2015 12:39:52 +0000 (14:39 +0200)]
Selector: Define jQuery.uniqueSort in selector-native too

Fixes gh-2466
Closes gh-2467

9 years agoRelease: properly set the dist remote when it's a real release
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

9 years agoAjax: Remove jsonp callbacks through "jQuery#removeProp" method
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

9 years agoBuild: add mailmap entry
Timmy Willison [Sat, 11 Jul 2015 15:41:06 +0000 (11:41 -0400)]
Build: add mailmap entry

9 years agoBuild: update AUTHORS.txt
Timmy Willison [Wed, 8 Jul 2015 17:41:48 +0000 (13:41 -0400)]
Build: update AUTHORS.txt

9 years agoTests: Remove a trailing comma for compatibility with the compat branch
Michał Gołębiowski [Wed, 8 Jul 2015 11:00:38 +0000 (13:00 +0200)]
Tests: Remove a trailing comma for compatibility with the compat branch

9 years agoCSS: Add an integration test for issue gh-1764
Michał Gołębiowski [Mon, 22 Jun 2015 23:44:18 +0000 (01:44 +0200)]
CSS: Add an integration test for issue gh-1764

Refs gh-1764
Refs gh-2401
Closes gh-2425

9 years agoCSS: Make .css("width") & .css("height") return fractional values
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-2439

9 years agoDeferred: add .catch handler 2451/head
Timmy Willison [Mon, 6 Jul 2015 14:13:01 +0000 (10:13 -0400)]
Deferred: add .catch handler

Fixes gh-2102

9 years agoCSS: Improve a comment explaining IE11 fullscreen bug
Michał Gołębiowski [Wed, 1 Jul 2015 21:20:32 +0000 (23:20 +0200)]
CSS: Improve a comment explaining IE11 fullscreen bug

9 years agoTests: Lower the checks rounding error
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.

9 years agoEffects: Adding unit tests for jQuery.Animation 2326/head
Corey Frang [Tue, 19 May 2015 21:48:42 +0000 (17:48 -0400)]
Effects: Adding unit tests for jQuery.Animation

Closes gh-2326

9 years agoEffects: Add tests for jQuery.Tween
Corey Frang [Mon, 18 May 2015 21:11:21 +0000 (17:11 -0400)]
Effects: Add tests for jQuery.Tween

9 years agoCSS: make the getStyles function more readable
Thomas Tortorini [Sun, 14 Jun 2015 21:58:44 +0000 (23:58 +0200)]
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