diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2019-02-11 22:57:15 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2019-02-11 22:57:15 +0300 |
commit | c406232dcdbe1651a8228f9e6aefa5363664a94c (patch) | |
tree | d2388173ea497744c4bef639352dd150017fe112 /assets/javascripts/bootstrap/toast.js | |
parent | 2f5416832341821fb1786d0eedca408687ac640c (diff) |
rake update[v4.3.0]
Diffstat (limited to 'assets/javascripts/bootstrap/toast.js')
-rw-r--r-- | assets/javascripts/bootstrap/toast.js | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/assets/javascripts/bootstrap/toast.js b/assets/javascripts/bootstrap/toast.js index e26b84c..9c268a9 100644 --- a/assets/javascripts/bootstrap/toast.js +++ b/assets/javascripts/bootstrap/toast.js @@ -1,13 +1,13 @@ /*! - * Bootstrap toast.js v4.2.1 (https://getbootstrap.com/) - * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Bootstrap toast.js v4.3.0 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery'), require('./util.js')) : typeof define === 'function' && define.amd ? define(['jquery', './util.js'], factory) : - (global.Toast = factory(global.jQuery,global.Util)); -}(this, (function ($,Util) { 'use strict'; + (global = global || self, global.Toast = factory(global.jQuery, global.Util)); +}(this, function ($, Util) { 'use strict'; $ = $ && $.hasOwnProperty('default') ? $['default'] : $; Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util; @@ -69,7 +69,7 @@ */ var NAME = 'toast'; - var VERSION = '4.2.1'; + var VERSION = '4.3.0'; var DATA_KEY = 'bs.toast'; var EVENT_KEY = "." + DATA_KEY; var JQUERY_NO_CONFLICT = $.fn[NAME]; @@ -184,8 +184,8 @@ $.removeData(this._element, DATA_KEY); this._element = null; this._config = null; - }; // Private - + } // Private + ; _proto._getConfig = function _getConfig(config) { config = _objectSpread({}, Default, $(this._element).data(), typeof config === 'object' && config ? config : {}); @@ -218,8 +218,8 @@ } else { complete(); } - }; // Static - + } // Static + ; Toast._jQueryInterface = function _jQueryInterface(config) { return this.each(function () { @@ -253,6 +253,11 @@ get: function get() { return DefaultType; } + }, { + key: "Default", + get: function get() { + return Default; + } }]); return Toast; @@ -274,4 +279,4 @@ return Toast; -}))); +})); |