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:
authorMark Otto <markd.otto@gmail.com>2021-02-11 18:22:18 +0300
committerGitHub <noreply@github.com>2021-02-11 18:22:18 +0300
commit037b5df737c9100d77aaef2facfc1a1290435752 (patch)
treeecc4c0736855fd445b70559a9a1c5b695b6fdcc7 /js/dist/alert.js
parent812585627239f4dd77c8cd97309138945c85ae91 (diff)
Revert dist changes from #32747 (#33050)
Diffstat (limited to 'js/dist/alert.js')
-rw-r--r--js/dist/alert.js16
1 files changed, 13 insertions, 3 deletions
diff --git a/js/dist/alert.js b/js/dist/alert.js
index 2e4f2a0885..6bcde2615f 100644
--- a/js/dist/alert.js
+++ b/js/dist/alert.js
@@ -34,7 +34,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);
}
/**
@@ -266,8 +276,8 @@
_createClass(Alert, null, [{
key: "DATA_KEY",
- // Getters
- get: function get() {
+ get: // Getters
+ function get() {
return DATA_KEY;
}
}]);