Skip to content

Commit e5534d4

Browse files
committed
jQuery v3.2.1
1 parent bad7f6f commit e5534d4

10 files changed

+60
-42
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "jQuery component",
55
"license": "MIT",
66
"keywords": [

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jquery",
33
"repo": "components/jquery",
4-
"version": "3.2.0",
4+
"version": "3.2.1",
55
"description": "jQuery component",
66
"license": "MIT",
77
"keywords": [

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"support": {
88
"irc": "irc://irc.freenode.org/jquery",
9-
"issues": "http://bugs.jquery.com",
9+
"issues": "https://github.com/jquery/jquery/issues",
1010
"forum": "http://forum.jquery.com",
1111
"wiki": "http://docs.jquery.com/",
1212
"source": "https://github.com/jquery/jquery"

jquery.js

+23-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery JavaScript Library v3.2.0
2+
* jQuery JavaScript Library v3.2.1
33
* https://jquery.com/
44
*
55
* Includes Sizzle.js
@@ -9,7 +9,7 @@
99
* Released under the MIT license
1010
* https://jquery.org/license
1111
*
12-
* Date: 2017-03-16T21:26Z
12+
* Date: 2017-03-20T18:59Z
1313
*/
1414
( function( global, factory ) {
1515

@@ -88,7 +88,7 @@ var support = {};
8888

8989

9090
var
91-
version = "3.2.0",
91+
version = "3.2.1",
9292

9393
// Define a local copy of jQuery
9494
jQuery = function( selector, context ) {
@@ -5343,11 +5343,9 @@ jQuery.event = {
53435343
},
53445344
click: {
53455345

5346-
// For checkable types, fire native event so checked state will be right
5346+
// For checkbox, fire native event so checked state will be right
53475347
trigger: function() {
5348-
if ( rcheckableType.test( this.type ) &&
5349-
this.click && nodeName( this, "input" ) ) {
5350-
5348+
if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) {
53515349
this.click();
53525350
return false;
53535351
}
@@ -6167,6 +6165,11 @@ var getStyles = function( elem ) {
61676165

61686166
function curCSS( elem, name, computed ) {
61696167
var width, minWidth, maxWidth, ret,
6168+
6169+
// Support: Firefox 51+
6170+
// Retrieving style before computed somehow
6171+
// fixes an issue with getting wrong values
6172+
// on detached elements
61706173
style = elem.style;
61716174

61726175
computed = computed || getStyles( elem );
@@ -6355,6 +6358,12 @@ function getWidthOrHeight( elem, name, extra ) {
63556358
valueIsBorderBox = isBorderBox &&
63566359
( support.boxSizingReliable() || val === elem.style[ name ] );
63576360

6361+
// Fall back to offsetWidth/Height when value is "auto"
6362+
// This happens for inline elements with no explicit setting (gh-3571)
6363+
if ( val === "auto" ) {
6364+
val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];
6365+
}
6366+
63586367
// Normalize "", auto, and prepare for extra
63596368
val = parseFloat( val ) || 0;
63606369

@@ -10171,16 +10180,16 @@ jQuery.fn.extend( {
1017110180
return arguments.length === 1 ?
1017210181
this.off( selector, "**" ) :
1017310182
this.off( types, selector || "**", fn );
10174-
},
10175-
holdReady: function( hold ) {
10176-
if ( hold ) {
10177-
jQuery.readyWait++;
10178-
} else {
10179-
jQuery.ready( true );
10180-
}
1018110183
}
1018210184
} );
1018310185

10186+
jQuery.holdReady = function( hold ) {
10187+
if ( hold ) {
10188+
jQuery.readyWait++;
10189+
} else {
10190+
jQuery.ready( true );
10191+
}
10192+
};
1018410193
jQuery.isArray = Array.isArray;
1018510194
jQuery.parseJSON = JSON.parse;
1018610195
jQuery.nodeName = nodeName;

jquery.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery.min.map

+1-1
Large diffs are not rendered by default.

jquery.slim.js

+23-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery JavaScript Library v3.2.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector
2+
* jQuery JavaScript Library v3.2.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector
33
* https://jquery.com/
44
*
55
* Includes Sizzle.js
@@ -9,7 +9,7 @@
99
* Released under the MIT license
1010
* https://jquery.org/license
1111
*
12-
* Date: 2017-03-16T21:26Z
12+
* Date: 2017-03-20T19:00Z
1313
*/
1414
( function( global, factory ) {
1515

@@ -88,7 +88,7 @@ var support = {};
8888

8989

9090
var
91-
version = "3.2.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector",
91+
version = "3.2.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector",
9292

9393
// Define a local copy of jQuery
9494
jQuery = function( selector, context ) {
@@ -5343,11 +5343,9 @@ jQuery.event = {
53435343
},
53445344
click: {
53455345

5346-
// For checkable types, fire native event so checked state will be right
5346+
// For checkbox, fire native event so checked state will be right
53475347
trigger: function() {
5348-
if ( rcheckableType.test( this.type ) &&
5349-
this.click && nodeName( this, "input" ) ) {
5350-
5348+
if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) {
53515349
this.click();
53525350
return false;
53535351
}
@@ -6167,6 +6165,11 @@ var getStyles = function( elem ) {
61676165

61686166
function curCSS( elem, name, computed ) {
61696167
var width, minWidth, maxWidth, ret,
6168+
6169+
// Support: Firefox 51+
6170+
// Retrieving style before computed somehow
6171+
// fixes an issue with getting wrong values
6172+
// on detached elements
61706173
style = elem.style;
61716174

61726175
computed = computed || getStyles( elem );
@@ -6355,6 +6358,12 @@ function getWidthOrHeight( elem, name, extra ) {
63556358
valueIsBorderBox = isBorderBox &&
63566359
( support.boxSizingReliable() || val === elem.style[ name ] );
63576360

6361+
// Fall back to offsetWidth/Height when value is "auto"
6362+
// This happens for inline elements with no explicit setting (gh-3571)
6363+
if ( val === "auto" ) {
6364+
val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];
6365+
}
6366+
63586367
// Normalize "", auto, and prepare for extra
63596368
val = parseFloat( val ) || 0;
63606369

@@ -8078,16 +8087,16 @@ jQuery.fn.extend( {
80788087
return arguments.length === 1 ?
80798088
this.off( selector, "**" ) :
80808089
this.off( types, selector || "**", fn );
8081-
},
8082-
holdReady: function( hold ) {
8083-
if ( hold ) {
8084-
jQuery.readyWait++;
8085-
} else {
8086-
jQuery.ready( true );
8087-
}
80888090
}
80898091
} );
80908092

8093+
jQuery.holdReady = function( hold ) {
8094+
if ( hold ) {
8095+
jQuery.readyWait++;
8096+
} else {
8097+
jQuery.ready( true );
8098+
}
8099+
};
80918100
jQuery.isArray = Array.isArray;
80928101
jQuery.parseJSON = JSON.parse;
80938102
jQuery.nodeName = nodeName;

jquery.slim.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery.slim.min.map

+1-1
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jquery",
33
"description": "JavaScript library for DOM operations",
4-
"version": "3.2.0",
4+
"version": "3.2.1",
55
"homepage": "http://jquery.com",
66
"author": {
77
"name": "jQuery Foundation and other contributors",

0 commit comments

Comments
 (0)