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-03-11 18:13:30 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-03-11 18:59:08 +0300
commitac67e04ce016406377595291ff1357eda63cc311 (patch)
tree4ad39e3b7079bdb0494ed827f90f49dda7b35ee2 /js/dist/dom/polyfill.js
parentc2b05dd7b5e6e66475dc89de1ca9466c92eb1e90 (diff)
Dist.
Diffstat (limited to 'js/dist/dom/polyfill.js')
-rw-r--r--js/dist/dom/polyfill.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/dist/dom/polyfill.js b/js/dist/dom/polyfill.js
index 525bc82c1c..ac86ba6ee8 100644
--- a/js/dist/dom/polyfill.js
+++ b/js/dist/dom/polyfill.js
@@ -16,7 +16,8 @@
* --------------------------------------------------------------------------
*/
var MAX_UID = 1000000;
- var jQuery = window.jQuery; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
+ var _window = window,
+ jQuery = _window.jQuery; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
/**
* --------------------------------------------------------------------------
* Public Util Api
@@ -65,7 +66,7 @@
try {
element.querySelectorAll(':scope *');
- } catch (e) {
+ } catch (error) {
return false;
}