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/scrollspy.js
parent9c54d3579757aa1e4027ff8fb434a18c656d840c (diff)
Dist (#29484)
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r--js/dist/scrollspy.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js
index 50fb605e85..bc11a1f410 100644
--- a/js/dist/scrollspy.js
+++ b/js/dist/scrollspy.js
@@ -4,8 +4,8 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('../dom/data.js'), require('../dom/event-handler.js'), require('../dom/manipulator.js'), require('../dom/selector-engine.js')) :
- typeof define === 'function' && define.amd ? define(['../dom/data.js', '../dom/event-handler.js', '../dom/manipulator.js', '../dom/selector-engine.js'], factory) :
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./dom/data.js'), require('./dom/event-handler.js'), require('./dom/manipulator.js'), require('./dom/selector-engine.js')) :
+ typeof define === 'function' && define.amd ? define(['./dom/data.js', './dom/event-handler.js', './dom/manipulator.js', './dom/selector-engine.js'], factory) :
(global = global || self, global.ScrollSpy = factory(global.Data, global.EventHandler, global.Manipulator, global.SelectorEngine));
}(this, function (Data, EventHandler, Manipulator, SelectorEngine) { 'use strict';
@@ -99,7 +99,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));
@@ -204,13 +203,12 @@
var OffsetMethod = {
OFFSET: 'offset',
POSITION: 'position'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var ScrollSpy =
/*#__PURE__*/