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-curriculum.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
@@ -182,13 +182,13 @@
182 182 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
183 183 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
184 184 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
185 185 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
186 -/**
187 - * Check if the block can be loaded in the current template.
188 - *
189 - * @since 4.2.8.4
190 - * @version 1.0.0
186 +/**
187 + * Check if the block can be loaded in the current template.
188 + *
189 + * @since 4.2.8.4
190 + * @version 1.0.0
191 191 */
192 192
193 193
194 194 let currentPostIdOld = null;
@@ -289,19 +289,19 @@
289 289
290 290 /******/ });
291 291 /************************************************************************/
292 292 /******/ // The module cache
293 -/******/ var __webpack_module_cache__ = {};
293 +/******/ const __webpack_module_cache__ = {};
294 294 /******/
295 295 /******/ // The require function
296 296 /******/ function __webpack_require__(moduleId) {
297 297 /******/ // Check if module is in cache
298 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
298 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
299 299 /******/ if (cachedModule !== undefined) {
300 300 /******/ return cachedModule.exports;
301 301 /******/ }
302 302 /******/ // Create a new module (and put it into the cache)
303 -/******/ var module = __webpack_module_cache__[moduleId] = {
303 +/******/ const module = __webpack_module_cache__[moduleId] = {
304 304 /******/ // no module.id needed
305 305 /******/ // no module.loaded needed
306 306 /******/ exports: {}
307 307 /******/ };
@@ -308,9 +308,9 @@
308 308 /******/
309 309 /******/ // Execute the module function
310 310 /******/ if (!(moduleId in __webpack_modules__)) {
311 311 /******/ delete __webpack_module_cache__[moduleId];
312 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
312 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
313 313 /******/ e.code = 'MODULE_NOT_FOUND';
314 314 /******/ throw e;
315 315 /******/ }
316 316 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -323,9 +323,9 @@
323 323 /******/ /* webpack/runtime/compat get default export */
324 324 /******/ (() => {
325 325 /******/ // getDefaultExport function for compatibility with non-harmony modules
326 326 /******/ __webpack_require__.n = (module) => {
327 -/******/ var getter = module && module.__esModule ?
327 +/******/ const getter = module && module.__esModule ?
328 328 /******/ () => (module['default']) :
329 329 /******/ () => (module);
330 330 /******/ __webpack_require__.d(getter, { a: getter });
331 331 /******/ return getter;
@@ -333,14 +333,29 @@
333 333 /******/ })();
334 334 /******/
335 335 /******/ /* webpack/runtime/define property getters */
336 336 /******/ (() => {
337 -/******/ // define getter functions for harmony exports
337 +/******/ // define getter/value functions for harmony exports
338 338 /******/ __webpack_require__.d = (exports, definition) => {
339 -/******/ for(var key in definition) {
340 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
341 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
339 +/******/ if(Array.isArray(definition)) {
340 +/******/ var i = 0;
341 +/******/ while(i < definition.length) {
342 +/******/ var key = definition[i++];
343 +/******/ var binding = definition[i++];
344 +/******/ if(!__webpack_require__.o(exports, key)) {
345 +/******/ if(binding === 0) {
346 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
347 +/******/ } else {
348 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
349 +/******/ }
350 +/******/ } else if(binding === 0) { i++; }
342 351 /******/ }
352 +/******/ } else {
353 +/******/ for(var key in definition) {
354 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
355 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
356 +/******/ }
357 +/******/ }
343 358 /******/ }
344 359 /******/ };
345 360 /******/ })();
346 361 /******/
@@ -345,9 +360,9 @@
345 360 /******/ })();
346 361 /******/
347 362 /******/ /* webpack/runtime/hasOwnProperty shorthand */
348 363 /******/ (() => {
349 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
364 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
350 365 /******/ })();
351 366 /******/
352 367 /******/ /* webpack/runtime/make namespace object */
353 368 /******/ (() => {
@@ -352,9 +367,9 @@
352 367 /******/ /* webpack/runtime/make namespace object */
353 368 /******/ (() => {
354 369 /******/ // define __esModule on exports
355 370 /******/ __webpack_require__.r = (exports) => {
356 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
371 +/******/ if(Symbol.toStringTag) {
357 372 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
358 373 /******/ }
359 374 /******/ Object.defineProperty(exports, '__esModule', { value: true });
360 375 /******/ };
@@ -360,9 +375,9 @@
360 375 /******/ };
361 376 /******/ })();
362 377 /******/
363 378 /************************************************************************/
364 -var __webpack_exports__ = {};
379 +let __webpack_exports__ = {};
365 380 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
366 381 (() => {
367 382 /*!******************************************************************************!*\
368 383 !*** ./assets/src/apps/js/blocks/course-elements/course-curriculum/index.js ***!
@@ -373,10 +388,10 @@
373 388 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/course-elements/course-curriculum/block.json");
374 389 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
375 390 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
376 391 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
377 -/**
378 - * Register block course curriculum.
392 +/**
393 + * Register block course curriculum.
379 394 */
380 395
381 396
382 397