diff options
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r-- | js/dist/scrollspy.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js index d1cc968663..e496286669 100644 --- a/js/dist/scrollspy.js +++ b/js/dist/scrollspy.js @@ -1,6 +1,6 @@ /*! - * Bootstrap scrollspy.js v4.6.1 (https://getbootstrap.com/) - * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Bootstrap scrollspy.js v4.6.2 (https://getbootstrap.com/) + * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ (function (global, factory) { @@ -27,11 +27,14 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); return Constructor; } function _extends() { - _extends = Object.assign || function (target) { + _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; @@ -44,7 +47,6 @@ return target; }; - return _extends.apply(this, arguments); } @@ -53,7 +55,7 @@ */ var NAME = 'scrollspy'; - var VERSION = '4.6.1'; + var VERSION = '4.6.2'; var DATA_KEY = 'bs.scrollspy'; var EVENT_KEY = "." + DATA_KEY; var DATA_API_KEY = '.data-api'; @@ -139,9 +141,7 @@ } return null; - }).filter(function (item) { - return item; - }).sort(function (a, b) { + }).filter(Boolean).sort(function (a, b) { return a[0] - b[0]; }).forEach(function (item) { _this2._offsets.push(item[0]); |