PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.10
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.10
4.4.10 4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 All 142 releases
← All changes | assets/js/dist/frontend/modal.js +40 -25 4.3.9.1 → 4.4.10 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
@@ -19,13 +19,13 @@
19 19 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
20 20 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
21 21 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
22 22
23 -/**
24 - * Create Modal popup.
25 - * Edit: Use React Hook.
26 - *
27 - * @author Nhamdv - ThimPress.
23 +/**
24 + * Create Modal popup.
25 + * Edit: Use React Hook.
26 + *
27 + * @author Nhamdv - ThimPress.
28 28 */
29 29
30 30
31 31
@@ -158,10 +158,10 @@
158 158 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
159 159 /* harmony export */ });
160 160 /* harmony import */ var refx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! refx */ "./node_modules/refx/refx.js");
161 161 /* harmony import */ var refx__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(refx__WEBPACK_IMPORTED_MODULE_0__);
162 -/**
163 - * External dependencies
162 +/**
163 + * External dependencies
164 164 */
165 165
166 166 const effects = {
167 167 ENROLL_COURSE_X: (action, store) => {
@@ -174,14 +174,14 @@
174 174 };
175 175 }
176 176 };
177 177
178 -/**
179 - * Applies the custom middlewares used specifically in the editor module.
180 - *
181 - * @param {Object} store Store Object.
182 - *
183 - * @return {Object} Update Store Object.
178 +/**
179 + * Applies the custom middlewares used specifically in the editor module.
180 + *
181 + * @param {Object} store Store Object.
182 + *
183 + * @return {Object} Update Store Object.
184 184 */
185 185 function applyMiddlewares(store) {
186 186 let enhancedDispatch = () => {
187 187 throw new Error('Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');
@@ -368,19 +368,19 @@
368 368
369 369 /******/ });
370 370 /************************************************************************/
371 371 /******/ // The module cache
372 -/******/ var __webpack_module_cache__ = {};
372 +/******/ const __webpack_module_cache__ = {};
373 373 /******/
374 374 /******/ // The require function
375 375 /******/ function __webpack_require__(moduleId) {
376 376 /******/ // Check if module is in cache
377 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
377 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
378 378 /******/ if (cachedModule !== undefined) {
379 379 /******/ return cachedModule.exports;
380 380 /******/ }
381 381 /******/ // Create a new module (and put it into the cache)
382 -/******/ var module = __webpack_module_cache__[moduleId] = {
382 +/******/ const module = __webpack_module_cache__[moduleId] = {
383 383 /******/ // no module.id needed
384 384 /******/ // no module.loaded needed
385 385 /******/ exports: {}
386 386 /******/ };
@@ -387,9 +387,9 @@
387 387 /******/
388 388 /******/ // Execute the module function
389 389 /******/ if (!(moduleId in __webpack_modules__)) {
390 390 /******/ delete __webpack_module_cache__[moduleId];
391 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
391 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
392 392 /******/ e.code = 'MODULE_NOT_FOUND';
393 393 /******/ throw e;
394 394 /******/ }
395 395 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -402,9 +402,9 @@
402 402 /******/ /* webpack/runtime/compat get default export */
403 403 /******/ (() => {
404 404 /******/ // getDefaultExport function for compatibility with non-harmony modules
405 405 /******/ __webpack_require__.n = (module) => {
406 -/******/ var getter = module && module.__esModule ?
406 +/******/ const getter = module && module.__esModule ?
407 407 /******/ () => (module['default']) :
408 408 /******/ () => (module);
409 409 /******/ __webpack_require__.d(getter, { a: getter });
410 410 /******/ return getter;
@@ -412,14 +412,29 @@
412 412 /******/ })();
413 413 /******/
414 414 /******/ /* webpack/runtime/define property getters */
415 415 /******/ (() => {
416 -/******/ // define getter functions for harmony exports
416 +/******/ // define getter/value functions for harmony exports
417 417 /******/ __webpack_require__.d = (exports, definition) => {
418 -/******/ for(var key in definition) {
419 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
420 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
418 +/******/ if(Array.isArray(definition)) {
419 +/******/ var i = 0;
420 +/******/ while(i < definition.length) {
421 +/******/ var key = definition[i++];
422 +/******/ var binding = definition[i++];
423 +/******/ if(!__webpack_require__.o(exports, key)) {
424 +/******/ if(binding === 0) {
425 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
426 +/******/ } else {
427 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
428 +/******/ }
429 +/******/ } else if(binding === 0) { i++; }
421 430 /******/ }
431 +/******/ } else {
432 +/******/ for(var key in definition) {
433 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
434 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
435 +/******/ }
436 +/******/ }
422 437 /******/ }
423 438 /******/ };
424 439 /******/ })();
425 440 /******/
@@ -424,9 +439,9 @@
424 439 /******/ })();
425 440 /******/
426 441 /******/ /* webpack/runtime/hasOwnProperty shorthand */
427 442 /******/ (() => {
428 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
443 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
429 444 /******/ })();
430 445 /******/
431 446 /******/ /* webpack/runtime/make namespace object */
432 447 /******/ (() => {
@@ -431,9 +446,9 @@
431 446 /******/ /* webpack/runtime/make namespace object */
432 447 /******/ (() => {
433 448 /******/ // define __esModule on exports
434 449 /******/ __webpack_require__.r = (exports) => {
435 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
450 +/******/ if(Symbol.toStringTag) {
436 451 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
437 452 /******/ }
438 453 /******/ Object.defineProperty(exports, '__esModule', { value: true });
439 454 /******/ };
@@ -439,9 +454,9 @@
439 454 /******/ };
440 455 /******/ })();
441 456 /******/
442 457 /************************************************************************/
443 -var __webpack_exports__ = {};
458 +let __webpack_exports__ = {};
444 459 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
445 460 (() => {
446 461 /*!**********************************************!*\
447 462 !*** ./assets/src/apps/js/frontend/modal.js ***!