assets/unpoly/unpoly-bootstrap4.js in unpoly-rails-2.7.2.2 vs assets/unpoly/unpoly-bootstrap4.js in unpoly-rails-3.0.0.rc1

- old
+ new

@@ -1,10 +1,10 @@ -/******/ (function() { // webpackBootstrap +/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ([ /* 0 */, /* 1 */ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); // extracted by mini-css-extract-plugin @@ -36,31 +36,33 @@ /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/make namespace object */ -/******/ !function() { +/******/ (() => { /******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { +/******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; -/******/ }(); +/******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. -!function() { +(() => { up.feedback.config.currentClasses.push('active'); up.feedback.config.navSelectors.push('.nav', '.navbar'); -up.form.config.validateTargets.unshift('.form-group:has(:origin)'); +up.form.config.groupSelectors.unshift('.form-group'); up.viewport.config.fixedTop.push('.navbar.fixed-top'); up.viewport.config.fixedBottom.push('.navbar.fixed-bottom'); up.viewport.config.anchoredRight.push('.navbar.fixed-top', '.navbar.fixed-bottom'); up.fragment.config.badTargetClasses.push('row', /^col(-xs|-sm|-md|-lg|-xl)?(-\d+)?$/, /^[mp][tblrxy]?-\d+$/); +up.layer.config.foreignOverlaySelectors.push('.modal:not(up-modal)', '.popover:not(up-popup)', '.dropdown-menu:not(up-popup)'); __webpack_require__(1); -}(); +})(); + /******/ })() ; \ No newline at end of file