mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-30 09:45:10 +01:00
Updated to v1.2.9
This commit is contained in:
31
conf/site/node_modules/jquery/src/css/support.js
generated
vendored
31
conf/site/node_modules/jquery/src/css/support.js
generated
vendored
@@ -60,7 +60,7 @@ define( [
|
||||
}
|
||||
|
||||
var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,
|
||||
reliableMarginLeftVal,
|
||||
reliableTrDimensionsVal, reliableMarginLeftVal,
|
||||
container = document.createElement( "div" ),
|
||||
div = document.createElement( "div" );
|
||||
|
||||
@@ -95,6 +95,35 @@ define( [
|
||||
scrollboxSize: function() {
|
||||
computeStyleTests();
|
||||
return scrollboxSizeVal;
|
||||
},
|
||||
|
||||
// Support: IE 9 - 11+, Edge 15 - 18+
|
||||
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
||||
// set in CSS while `offset*` properties report correct values.
|
||||
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
||||
// some versions of this test; make sure not to make it pass there!
|
||||
reliableTrDimensions: function() {
|
||||
var table, tr, trChild, trStyle;
|
||||
if ( reliableTrDimensionsVal == null ) {
|
||||
table = document.createElement( "table" );
|
||||
tr = document.createElement( "tr" );
|
||||
trChild = document.createElement( "div" );
|
||||
|
||||
table.style.cssText = "position:absolute;left:-11111px";
|
||||
tr.style.height = "1px";
|
||||
trChild.style.height = "9px";
|
||||
|
||||
documentElement
|
||||
.appendChild( table )
|
||||
.appendChild( tr )
|
||||
.appendChild( trChild );
|
||||
|
||||
trStyle = window.getComputedStyle( tr );
|
||||
reliableTrDimensionsVal = parseInt( trStyle.height ) > 3;
|
||||
|
||||
documentElement.removeChild( table );
|
||||
}
|
||||
return reliableTrDimensionsVal;
|
||||
}
|
||||
} );
|
||||
} )();
|
||||
|
||||
4
conf/site/node_modules/jquery/src/css/var/swap.js
generated
vendored
4
conf/site/node_modules/jquery/src/css/var/swap.js
generated
vendored
@@ -3,7 +3,7 @@ define( function() {
|
||||
"use strict";
|
||||
|
||||
// A method for quickly swapping in/out CSS properties to get correct calculations.
|
||||
return function( elem, options, callback, args ) {
|
||||
return function( elem, options, callback ) {
|
||||
var ret, name,
|
||||
old = {};
|
||||
|
||||
@@ -13,7 +13,7 @@ return function( elem, options, callback, args ) {
|
||||
elem.style[ name ] = options[ name ];
|
||||
}
|
||||
|
||||
ret = callback.apply( elem, args || [] );
|
||||
ret = callback.call( elem );
|
||||
|
||||
// Revert the old values
|
||||
for ( name in options ) {
|
||||
|
||||
Reference in New Issue
Block a user