mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
dist
This commit is contained in:
8
js/dist/alert.js
vendored
8
js/dist/alert.js
vendored
@@ -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) {
|
||||
|
Reference in New Issue
Block a user