Skip to content

Commit

Permalink
jQuery v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mrohnstock committed Mar 21, 2017
1 parent bad7f6f commit e5534d4
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 42 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery",
"version": "3.2.0",
"version": "3.2.1",
"description": "jQuery component",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery",
"repo": "components/jquery",
"version": "3.2.0",
"version": "3.2.1",
"description": "jQuery component",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"support": {
"irc": "irc://irc.freenode.org/jquery",
"issues": "http://bugs.jquery.com",
"issues": "https://github.com/jquery/jquery/issues",
"forum": "http://forum.jquery.com",
"wiki": "http://docs.jquery.com/",
"source": "https://github.com/jquery/jquery"
Expand Down
37 changes: 23 additions & 14 deletions jquery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jQuery JavaScript Library v3.2.0
* jQuery JavaScript Library v3.2.1
* https://jquery.com/
*
* Includes Sizzle.js
Expand All @@ -9,7 +9,7 @@
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2017-03-16T21:26Z
* Date: 2017-03-20T18:59Z
*/
( function( global, factory ) {

Expand Down Expand Up @@ -88,7 +88,7 @@ var support = {};


var
version = "3.2.0",
version = "3.2.1",

// Define a local copy of jQuery
jQuery = function( selector, context ) {
Expand Down Expand Up @@ -5343,11 +5343,9 @@ jQuery.event = {
},
click: {

// For checkable types, fire native event so checked state will be right
// For checkbox, fire native event so checked state will be right
trigger: function() {
if ( rcheckableType.test( this.type ) &&
this.click && nodeName( this, "input" ) ) {

if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) {
this.click();
return false;
}
Expand Down Expand Up @@ -6167,6 +6165,11 @@ var getStyles = function( elem ) {

function curCSS( elem, name, computed ) {
var width, minWidth, maxWidth, ret,

// Support: Firefox 51+
// Retrieving style before computed somehow
// fixes an issue with getting wrong values
// on detached elements
style = elem.style;

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

// Fall back to offsetWidth/Height when value is "auto"
// This happens for inline elements with no explicit setting (gh-3571)
if ( val === "auto" ) {
val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];
}

// Normalize "", auto, and prepare for extra
val = parseFloat( val ) || 0;

Expand Down Expand Up @@ -10171,16 +10180,16 @@ jQuery.fn.extend( {
return arguments.length === 1 ?
this.off( selector, "**" ) :
this.off( types, selector || "**", fn );
},
holdReady: function( hold ) {
if ( hold ) {
jQuery.readyWait++;
} else {
jQuery.ready( true );
}
}
} );

jQuery.holdReady = function( hold ) {
if ( hold ) {
jQuery.readyWait++;
} else {
jQuery.ready( true );
}
};
jQuery.isArray = Array.isArray;
jQuery.parseJSON = JSON.parse;
jQuery.nodeName = nodeName;
Expand Down
8 changes: 4 additions & 4 deletions jquery.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jquery.min.map

Large diffs are not rendered by default.

37 changes: 23 additions & 14 deletions jquery.slim.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 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
* 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
* https://jquery.com/
*
* Includes Sizzle.js
Expand All @@ -9,7 +9,7 @@
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2017-03-16T21:26Z
* Date: 2017-03-20T19:00Z
*/
( function( global, factory ) {

Expand Down Expand Up @@ -88,7 +88,7 @@ var support = {};


var
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",
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",

// Define a local copy of jQuery
jQuery = function( selector, context ) {
Expand Down Expand Up @@ -5343,11 +5343,9 @@ jQuery.event = {
},
click: {

// For checkable types, fire native event so checked state will be right
// For checkbox, fire native event so checked state will be right
trigger: function() {
if ( rcheckableType.test( this.type ) &&
this.click && nodeName( this, "input" ) ) {

if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) {
this.click();
return false;
}
Expand Down Expand Up @@ -6167,6 +6165,11 @@ var getStyles = function( elem ) {

function curCSS( elem, name, computed ) {
var width, minWidth, maxWidth, ret,

// Support: Firefox 51+
// Retrieving style before computed somehow
// fixes an issue with getting wrong values
// on detached elements
style = elem.style;

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

// Fall back to offsetWidth/Height when value is "auto"
// This happens for inline elements with no explicit setting (gh-3571)
if ( val === "auto" ) {
val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];
}

// Normalize "", auto, and prepare for extra
val = parseFloat( val ) || 0;

Expand Down Expand Up @@ -8078,16 +8087,16 @@ jQuery.fn.extend( {
return arguments.length === 1 ?
this.off( selector, "**" ) :
this.off( types, selector || "**", fn );
},
holdReady: function( hold ) {
if ( hold ) {
jQuery.readyWait++;
} else {
jQuery.ready( true );
}
}
} );

jQuery.holdReady = function( hold ) {
if ( hold ) {
jQuery.readyWait++;
} else {
jQuery.ready( true );
}
};
jQuery.isArray = Array.isArray;
jQuery.parseJSON = JSON.parse;
jQuery.nodeName = nodeName;
Expand Down
8 changes: 4 additions & 4 deletions jquery.slim.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jquery.slim.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery",
"description": "JavaScript library for DOM operations",
"version": "3.2.0",
"version": "3.2.1",
"homepage": "http://jquery.com",
"author": {
"name": "jQuery Foundation and other contributors",
Expand Down

0 comments on commit e5534d4

Please sign in to comment.