updated npm modules
This commit is contained in:
3
node_modules/jquery/src/css/adjustCSS.js
generated
vendored
3
node_modules/jquery/src/css/adjustCSS.js
generated
vendored
@@ -19,7 +19,8 @@ function adjustCSS( elem, prop, valueParts, tween ) {
|
||||
unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
|
||||
|
||||
// Starting value computation is required for potential unit mismatches
|
||||
initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) &&
|
||||
initialInUnit = elem.nodeType &&
|
||||
( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) &&
|
||||
rcssNum.exec( jQuery.css( elem, prop ) );
|
||||
|
||||
if ( initialInUnit && initialInUnit[ 3 ] !== unit ) {
|
||||
|
||||
8
node_modules/jquery/src/css/curCSS.js
generated
vendored
8
node_modules/jquery/src/css/curCSS.js
generated
vendored
@@ -1,11 +1,11 @@
|
||||
define( [
|
||||
"../core",
|
||||
"../core/isAttached",
|
||||
"./var/rboxStyle",
|
||||
"./var/rnumnonpx",
|
||||
"./var/getStyles",
|
||||
"./support",
|
||||
"../selector" // Get jQuery.contains
|
||||
], function( jQuery, rboxStyle, rnumnonpx, getStyles, support ) {
|
||||
"./support"
|
||||
], function( jQuery, isAttached, rboxStyle, rnumnonpx, getStyles, support ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@@ -26,7 +26,7 @@ function curCSS( elem, name, computed ) {
|
||||
if ( computed ) {
|
||||
ret = computed.getPropertyValue( name ) || computed[ name ];
|
||||
|
||||
if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
|
||||
if ( ret === "" && !isAttached( elem ) ) {
|
||||
ret = jQuery.style( elem, name );
|
||||
}
|
||||
|
||||
|
||||
4
node_modules/jquery/src/css/support.js
generated
vendored
4
node_modules/jquery/src/css/support.js
generated
vendored
@@ -43,8 +43,10 @@ define( [
|
||||
|
||||
// Support: IE 9 only
|
||||
// Detect overflow:scroll screwiness (gh-3699)
|
||||
// Support: Chrome <=64
|
||||
// Don't get tricked when zoom affects offsetWidth (gh-4029)
|
||||
div.style.position = "absolute";
|
||||
scrollboxSizeVal = div.offsetWidth === 36 || "absolute";
|
||||
scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;
|
||||
|
||||
documentElement.removeChild( container );
|
||||
|
||||
|
||||
6
node_modules/jquery/src/css/var/isHiddenWithinTree.js
generated
vendored
6
node_modules/jquery/src/css/var/isHiddenWithinTree.js
generated
vendored
@@ -1,9 +1,9 @@
|
||||
define( [
|
||||
"../../core",
|
||||
"../../selector"
|
||||
"../../core/isAttached"
|
||||
|
||||
// css is assumed
|
||||
], function( jQuery ) {
|
||||
], function( jQuery, isAttached ) {
|
||||
"use strict";
|
||||
|
||||
// isHiddenWithinTree reports if an element has a non-"none" display style (inline and/or
|
||||
@@ -27,7 +27,7 @@ define( [
|
||||
// Support: Firefox <=43 - 45
|
||||
// Disconnected elements can have computed display: none, so first confirm that elem is
|
||||
// in the document.
|
||||
jQuery.contains( elem.ownerDocument, elem ) &&
|
||||
isAttached( elem ) &&
|
||||
|
||||
jQuery.css( elem, "display" ) === "none";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user