Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-10-08 09:39:10 +0300
committerGitHub <noreply@github.com>2019-10-08 09:39:10 +0300
commit1770691b339bdbf17de5e8824158b358dc0284a9 (patch)
tree69ac7056dcc46fbf63497df93b6e69c623fb93d2 /js/dist/dom/polyfill.js
parent9c54d3579757aa1e4027ff8fb434a18c656d840c (diff)
Dist (#29484)
Diffstat (limited to 'js/dist/dom/polyfill.js')
-rw-r--r--js/dist/dom/polyfill.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/dist/dom/polyfill.js b/js/dist/dom/polyfill.js
index a74051934e..fefa0f5696 100644
--- a/js/dist/dom/polyfill.js
+++ b/js/dist/dom/polyfill.js
@@ -25,7 +25,6 @@
var getUID = function getUID(prefix) {
do {
- // eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
@@ -123,7 +122,7 @@
try {
element.querySelectorAll(':scope *');
- } catch (error) {
+ } catch (_) {
return false;
}