aboutsummaryrefslogtreecommitdiff
path: root/js/dist/carousel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/carousel.js')
-rw-r--r--js/dist/carousel.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/js/dist/carousel.js b/js/dist/carousel.js
index ac6e8455b..986de8e0c 100644
--- a/js/dist/carousel.js
+++ b/js/dist/carousel.js
@@ -54,17 +54,7 @@
function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
-
- _setPrototypeOf(subClass, superClass);
- }
-
- function _setPrototypeOf(o, p) {
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
- o.__proto__ = p;
- return o;
- };
-
- return _setPrototypeOf(o, p);
+ subClass.__proto__ = superClass;
}
/**