diff options
Diffstat (limited to 'js/dist/toast.js')
-rw-r--r-- | js/dist/toast.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/dist/toast.js b/js/dist/toast.js index 6702292ea5..781f8d85ec 100644 --- a/js/dist/toast.js +++ b/js/dist/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) + * 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; @@ -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 () { @@ -274,5 +274,5 @@ return Toast; -}))); +})); //# sourceMappingURL=toast.js.map |