diff options
Diffstat (limited to 'js/dist/alert.js')
-rw-r--r-- | js/dist/alert.js | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/js/dist/alert.js b/js/dist/alert.js index db1fe38e50..0f64ab094b 100644 --- a/js/dist/alert.js +++ b/js/dist/alert.js @@ -12,22 +12,6 @@ Data = Data && Object.prototype.hasOwnProperty.call(Data, 'default') ? Data['default'] : Data; EventHandler = EventHandler && Object.prototype.hasOwnProperty.call(EventHandler, 'default') ? EventHandler['default'] : EventHandler; - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } - } - - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; - } - /** * -------------------------------------------------------------------------- * Bootstrap (v5.0.0-alpha1): util/index.js @@ -109,6 +93,9 @@ return null; }; + function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + + function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } /** * ------------------------------------------------------------------------ * Constants |