1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 18:44:01 +02:00

carousel -> es6

This commit is contained in:
fat
2015-05-07 22:26:40 -07:00
parent 6605051882
commit 1b183e2ff7
17 changed files with 966 additions and 236 deletions

6
js/dist/alert.js vendored
View File

@@ -51,9 +51,7 @@ var Alert = (function ($) {
function Alert(element) {
_classCallCheck(this, Alert);
if (element) {
this.element = element;
}
this._element = element;
}
_createClass(Alert, [{
@@ -62,7 +60,7 @@ var Alert = (function ($) {
// public
value: function close(element) {
element = element || this.element;
element = element || this._element;
var rootElement = this._getRootElement(element);
var customEvent = this._triggerCloseEvent(rootElement);