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/blocks/course-capacity.js +34 -19 4.3.9 → 4.4.10 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
@@ -136,13 +136,13 @@
136 136 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
137 137 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
138 138 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
139 139 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
140 -/**
141 - * Check if the block can be loaded in the current template.
142 - *
143 - * @since 4.2.8.4
144 - * @version 1.0.0
140 +/**
141 + * Check if the block can be loaded in the current template.
142 + *
143 + * @since 4.2.8.4
144 + * @version 1.0.0
145 145 */
146 146
147 147
148 148 let currentPostIdOld = null;
@@ -283,19 +283,19 @@
283 283
284 284 /******/ });
285 285 /************************************************************************/
286 286 /******/ // The module cache
287 -/******/ var __webpack_module_cache__ = {};
287 +/******/ const __webpack_module_cache__ = {};
288 288 /******/
289 289 /******/ // The require function
290 290 /******/ function __webpack_require__(moduleId) {
291 291 /******/ // Check if module is in cache
292 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
292 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
293 293 /******/ if (cachedModule !== undefined) {
294 294 /******/ return cachedModule.exports;
295 295 /******/ }
296 296 /******/ // Create a new module (and put it into the cache)
297 -/******/ var module = __webpack_module_cache__[moduleId] = {
297 +/******/ const module = __webpack_module_cache__[moduleId] = {
298 298 /******/ // no module.id needed
299 299 /******/ // no module.loaded needed
300 300 /******/ exports: {}
301 301 /******/ };
@@ -302,9 +302,9 @@
302 302 /******/
303 303 /******/ // Execute the module function
304 304 /******/ if (!(moduleId in __webpack_modules__)) {
305 305 /******/ delete __webpack_module_cache__[moduleId];
306 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
306 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
307 307 /******/ e.code = 'MODULE_NOT_FOUND';
308 308 /******/ throw e;
309 309 /******/ }
310 310 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -317,9 +317,9 @@
317 317 /******/ /* webpack/runtime/compat get default export */
318 318 /******/ (() => {
319 319 /******/ // getDefaultExport function for compatibility with non-harmony modules
320 320 /******/ __webpack_require__.n = (module) => {
321 -/******/ var getter = module && module.__esModule ?
321 +/******/ const getter = module && module.__esModule ?
322 322 /******/ () => (module['default']) :
323 323 /******/ () => (module);
324 324 /******/ __webpack_require__.d(getter, { a: getter });
325 325 /******/ return getter;
@@ -327,14 +327,29 @@
327 327 /******/ })();
328 328 /******/
329 329 /******/ /* webpack/runtime/define property getters */
330 330 /******/ (() => {
331 -/******/ // define getter functions for harmony exports
331 +/******/ // define getter/value functions for harmony exports
332 332 /******/ __webpack_require__.d = (exports, definition) => {
333 -/******/ for(var key in definition) {
334 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
335 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
333 +/******/ if(Array.isArray(definition)) {
334 +/******/ var i = 0;
335 +/******/ while(i < definition.length) {
336 +/******/ var key = definition[i++];
337 +/******/ var binding = definition[i++];
338 +/******/ if(!__webpack_require__.o(exports, key)) {
339 +/******/ if(binding === 0) {
340 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
341 +/******/ } else {
342 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
343 +/******/ }
344 +/******/ } else if(binding === 0) { i++; }
336 345 /******/ }
346 +/******/ } else {
347 +/******/ for(var key in definition) {
348 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
349 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
350 +/******/ }
351 +/******/ }
337 352 /******/ }
338 353 /******/ };
339 354 /******/ })();
340 355 /******/
@@ -339,9 +354,9 @@
339 354 /******/ })();
340 355 /******/
341 356 /******/ /* webpack/runtime/hasOwnProperty shorthand */
342 357 /******/ (() => {
343 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
358 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
344 359 /******/ })();
345 360 /******/
346 361 /******/ /* webpack/runtime/make namespace object */
347 362 /******/ (() => {
@@ -346,9 +361,9 @@
346 361 /******/ /* webpack/runtime/make namespace object */
347 362 /******/ (() => {
348 363 /******/ // define __esModule on exports
349 364 /******/ __webpack_require__.r = (exports) => {
350 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
365 +/******/ if(Symbol.toStringTag) {
351 366 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
352 367 /******/ }
353 368 /******/ Object.defineProperty(exports, '__esModule', { value: true });
354 369 /******/ };
@@ -354,9 +369,9 @@
354 369 /******/ };
355 370 /******/ })();
356 371 /******/
357 372 /************************************************************************/
358 -var __webpack_exports__ = {};
373 +let __webpack_exports__ = {};
359 374 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
360 375 (() => {
361 376 /*!****************************************************************************!*\
362 377 !*** ./assets/src/apps/js/blocks/course-elements/course-capacity/index.js ***!
@@ -368,10 +383,10 @@
368 383 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
369 384 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
370 385 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
371 386 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/people.js");
372 -/**
373 - * Register block course lesson.
387 +/**
388 + * Register block course lesson.
374 389 */
375 390
376 391
377 392