mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
dist
This commit is contained in:
Vendored
+4
-4
@@ -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