From 1ecb74e007b8f2c00f89ff083fb7732098d019f7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 20 Mar 2017 23:04:14 -0700 Subject: [PATCH] bump to jquery 3.2.1 --- _config.yml | 4 +- docs/assets/js/vendor/jquery-slim.min.js | 37 ++++++++++++------- docs/examples/album/index.html | 2 +- docs/examples/blog/index.html | 2 +- docs/examples/carousel/index.html | 2 +- docs/examples/cover/index.html | 2 +- docs/examples/dashboard/index.html | 2 +- docs/examples/jumbotron/index.html | 2 +- docs/examples/justified-nav/index.html | 2 +- docs/examples/navbar-top-fixed/index.html | 2 +- docs/examples/navbar-top/index.html | 2 +- docs/examples/navbars/index.html | 2 +- docs/examples/offcanvas/index.html | 2 +- docs/examples/starter-template/index.html | 2 +- docs/examples/sticky-footer-navbar/index.html | 2 +- docs/examples/tooltip-viewport/index.html | 2 +- 16 files changed, 39 insertions(+), 30 deletions(-) diff --git a/_config.yml b/_config.yml index 5f45e0b734..6d62f17e5b 100644 --- a/_config.yml +++ b/_config.yml @@ -49,7 +49,7 @@ cdn: css_hash: "sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" js: https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js js_hash: "sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" - jquery: https://code.jquery.com/jquery-3.2.0.slim.min.js - jquery_hash: "sha384-1IgS1w1Tef85fCJ4P3BUG2mk9zC/mUicyWWxzNPI1PIVe8Tnq0XHGbE6gWOTyBgt" + jquery: https://code.jquery.com/jquery-3.2.1.slim.min.js + jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" tether: https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js tether_hash: "sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" diff --git a/docs/assets/js/vendor/jquery-slim.min.js b/docs/assets/js/vendor/jquery-slim.min.js index 2dbefe93f3..6cdf1eecf0 100644 --- a/docs/assets/js/vendor/jquery-slim.min.js +++ b/docs/assets/js/vendor/jquery-slim.min.js @@ -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 @@ -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 ) { @@ -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 ) { @@ -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; } @@ -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 ); @@ -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; @@ -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; diff --git a/docs/examples/album/index.html b/docs/examples/album/index.html index 85e570c4e4..36d5675401 100644 --- a/docs/examples/album/index.html +++ b/docs/examples/album/index.html @@ -116,7 +116,7 @@ - + diff --git a/docs/examples/blog/index.html b/docs/examples/blog/index.html index e7cf9fd183..a39c9c0129 100644 --- a/docs/examples/blog/index.html +++ b/docs/examples/blog/index.html @@ -156,7 +156,7 @@ - + diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html index b19ba14d38..9958a2e298 100644 --- a/docs/examples/carousel/index.html +++ b/docs/examples/carousel/index.html @@ -174,7 +174,7 @@ - + diff --git a/docs/examples/cover/index.html b/docs/examples/cover/index.html index ba9deaddc7..62897fae4e 100644 --- a/docs/examples/cover/index.html +++ b/docs/examples/cover/index.html @@ -58,7 +58,7 @@ - + diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index 9ca1567144..0c3d0b4756 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -252,7 +252,7 @@ - + diff --git a/docs/examples/jumbotron/index.html b/docs/examples/jumbotron/index.html index b8d3bcc1b0..61116ca9d1 100644 --- a/docs/examples/jumbotron/index.html +++ b/docs/examples/jumbotron/index.html @@ -91,7 +91,7 @@ - + diff --git a/docs/examples/justified-nav/index.html b/docs/examples/justified-nav/index.html index dc93b7a2f1..5306423fab 100644 --- a/docs/examples/justified-nav/index.html +++ b/docs/examples/justified-nav/index.html @@ -94,7 +94,7 @@ - + diff --git a/docs/examples/navbar-top-fixed/index.html b/docs/examples/navbar-top-fixed/index.html index 2ba48af65e..16358631ea 100644 --- a/docs/examples/navbar-top-fixed/index.html +++ b/docs/examples/navbar-top-fixed/index.html @@ -54,7 +54,7 @@ - + diff --git a/docs/examples/navbar-top/index.html b/docs/examples/navbar-top/index.html index 7196b8760f..c9570dcf1b 100644 --- a/docs/examples/navbar-top/index.html +++ b/docs/examples/navbar-top/index.html @@ -54,7 +54,7 @@ - + diff --git a/docs/examples/navbars/index.html b/docs/examples/navbars/index.html index 37b27f3f37..577dc09b39 100644 --- a/docs/examples/navbars/index.html +++ b/docs/examples/navbars/index.html @@ -192,7 +192,7 @@ - + diff --git a/docs/examples/offcanvas/index.html b/docs/examples/offcanvas/index.html index 462337fac4..e657ea91fa 100644 --- a/docs/examples/offcanvas/index.html +++ b/docs/examples/offcanvas/index.html @@ -125,7 +125,7 @@ - + diff --git a/docs/examples/starter-template/index.html b/docs/examples/starter-template/index.html index 559198b34f..02ca3d6481 100644 --- a/docs/examples/starter-template/index.html +++ b/docs/examples/starter-template/index.html @@ -64,7 +64,7 @@ - + diff --git a/docs/examples/sticky-footer-navbar/index.html b/docs/examples/sticky-footer-navbar/index.html index 48caf9dcbc..18dc1a4228 100644 --- a/docs/examples/sticky-footer-navbar/index.html +++ b/docs/examples/sticky-footer-navbar/index.html @@ -62,7 +62,7 @@ - + diff --git a/docs/examples/tooltip-viewport/index.html b/docs/examples/tooltip-viewport/index.html index 35946955fe..8fd3f80498 100644 --- a/docs/examples/tooltip-viewport/index.html +++ b/docs/examples/tooltip-viewport/index.html @@ -37,7 +37,7 @@ - +