fix(deps): update dependency material-icons to ^0.7.0
GitOrigin-RevId: a5bcfd6a69fff3a38a7dff4f8e163cdc6143fc8f
diff --git a/node_modules/jquery/src/offset.js b/node_modules/jquery/src/offset.js
index 83b1c3a..62166bc 100644
--- a/node_modules/jquery/src/offset.js
+++ b/node_modules/jquery/src/offset.js
@@ -1,7 +1,6 @@
define( [
"./core",
"./core/access",
- "./var/document",
"./var/documentElement",
"./var/isFunction",
"./css/var/rnumnonpx",
@@ -12,8 +11,8 @@
"./core/init",
"./css",
"./selector" // contains
-], function( jQuery, access, document, documentElement, isFunction, rnumnonpx,
- curCSS, addGetHookIf, support, isWindow ) {
+], function( jQuery, access, documentElement, isFunction, rnumnonpx,
+ curCSS, addGetHookIf, support, isWindow ) {
"use strict";
@@ -64,6 +63,12 @@
options.using.call( elem, props );
} else {
+ if ( typeof props.top === "number" ) {
+ props.top += "px";
+ }
+ if ( typeof props.left === "number" ) {
+ props.left += "px";
+ }
curElem.css( props );
}
}
@@ -214,7 +219,7 @@
// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347
// getComputedStyle returns percent when specified for top/left/bottom/right;
// rather than make the css module depend on the offset module, just check for it here
-jQuery.each( [ "top", "left" ], function( i, prop ) {
+jQuery.each( [ "top", "left" ], function( _i, prop ) {
jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
function( elem, computed ) {
if ( computed ) {