diff options
| author | Rohit Sharma <[email protected]> | 2021-03-27 21:38:45 +0530 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-04-11 09:42:52 +0300 |
| commit | b2bc159d722a640b684f12a1171d70c8d5284b4e (patch) | |
| tree | 051580f72867e0595199e1368737c95da8c32e6b /js/src/util | |
| parent | 7b7f4a5ced176ae3d7d9d16583795245cb9c7df3 (diff) | |
| download | bootstrap-b2bc159d722a640b684f12a1171d70c8d5284b4e.tar.xz bootstrap-b2bc159d722a640b684f12a1171d70c8d5284b4e.zip | |
Use cached `noop` function everywhere
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/util/index.js b/js/src/util/index.js index cc35d8a37..f19d76e03 100644 --- a/js/src/util/index.js +++ b/js/src/util/index.js @@ -190,7 +190,7 @@ const findShadowRoot = element => { return findShadowRoot(element.parentNode) } -const noop = () => function () {} +const noop = () => {} const reflow = element => element.offsetHeight |
