diff options
Diffstat (limited to 'assets/javascripts/bootstrap/alert.js')
-rw-r--r-- | assets/javascripts/bootstrap/alert.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/assets/javascripts/bootstrap/alert.js b/assets/javascripts/bootstrap/alert.js index 3e8cc35..3de9f13 100644 --- a/assets/javascripts/bootstrap/alert.js +++ b/assets/javascripts/bootstrap/alert.js @@ -4,7 +4,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d /** * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-beta.3): alert.js + * Bootstrap (v4.0.0): alert.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ @@ -15,7 +15,7 @@ var Alert = function ($) { * ------------------------------------------------------------------------ */ var NAME = 'alert'; - var VERSION = '4.0.0-beta.3'; + var VERSION = '4.0.0'; var DATA_KEY = 'bs.alert'; var EVENT_KEY = "." + DATA_KEY; var DATA_API_KEY = '.data-api'; @@ -46,12 +46,12 @@ var Alert = function ($) { function () { function Alert(element) { this._element = element; - } // getters + } // Getters var _proto = Alert.prototype; - // public + // Public _proto.close = function close(element) { element = element || this._element; @@ -69,7 +69,7 @@ var Alert = function ($) { _proto.dispose = function dispose() { $.removeData(this._element, DATA_KEY); this._element = null; - }; // private + }; // Private _proto._getRootElement = function _getRootElement(element) { @@ -111,7 +111,7 @@ var Alert = function ($) { _proto._destroyElement = function _destroyElement(element) { $(element).detach().trigger(Event.CLOSED).remove(); - }; // static + }; // Static Alert._jQueryInterface = function _jQueryInterface(config) { |