diff options
author | Mark Otto <markd.otto@gmail.com> | 2021-02-11 18:22:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:22:18 +0300 |
commit | 037b5df737c9100d77aaef2facfc1a1290435752 (patch) | |
tree | ecc4c0736855fd445b70559a9a1c5b695b6fdcc7 /dist/js/bootstrap.js | |
parent | 812585627239f4dd77c8cd97309138945c85ae91 (diff) |
Revert dist changes from #32747 (#33050)
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r-- | dist/js/bootstrap.js | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index cfb6c335b2..94d0ae344b 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -68,7 +68,17 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; + + _setPrototypeOf(subClass, superClass); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); } /** @@ -778,8 +788,8 @@ _createClass(Alert, null, [{ key: "DATA_KEY", - // Getters - get: function get() { + get: // Getters + function get() { return DATA_KEY; } }]); @@ -854,8 +864,8 @@ _createClass(Button, null, [{ key: "DATA_KEY", - // Getters - get: function get() { + get: // Getters + function get() { return DATA_KEY$1; } }]); @@ -4173,8 +4183,8 @@ _createClass(Popover, null, [{ key: "Default", - // Getters - get: function get() { + get: // Getters + function get() { return Default$5; } }, { @@ -4674,8 +4684,8 @@ _createClass(Tab, null, [{ key: "DATA_KEY", - // Getters - get: function get() { + get: // Getters + function get() { return DATA_KEY$9; } }]); |