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/item-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
@@ -1247,13 +1247,13 @@
1247 1247 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
1248 1248 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
1249 1249 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
1250 1250 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
1251 -/**
1252 - * Check if the block can be loaded in the current template.
1253 - *
1254 - * @since 4.2.8.4
1255 - * @version 1.0.0
1251 +/**
1252 + * Check if the block can be loaded in the current template.
1253 + *
1254 + * @since 4.2.8.4
1255 + * @version 1.0.0
1256 1256 */
1257 1257
1258 1258
1259 1259 let currentPostIdOld = null;
@@ -1364,19 +1364,19 @@
1364 1364
1365 1365 /******/ });
1366 1366 /************************************************************************/
1367 1367 /******/ // The module cache
1368 -/******/ var __webpack_module_cache__ = {};
1368 +/******/ const __webpack_module_cache__ = {};
1369 1369 /******/
1370 1370 /******/ // The require function
1371 1371 /******/ function __webpack_require__(moduleId) {
1372 1372 /******/ // Check if module is in cache
1373 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
1373 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
1374 1374 /******/ if (cachedModule !== undefined) {
1375 1375 /******/ return cachedModule.exports;
1376 1376 /******/ }
1377 1377 /******/ // Create a new module (and put it into the cache)
1378 -/******/ var module = __webpack_module_cache__[moduleId] = {
1378 +/******/ const module = __webpack_module_cache__[moduleId] = {
1379 1379 /******/ // no module.id needed
1380 1380 /******/ // no module.loaded needed
1381 1381 /******/ exports: {}
1382 1382 /******/ };
@@ -1383,9 +1383,9 @@
1383 1383 /******/
1384 1384 /******/ // Execute the module function
1385 1385 /******/ if (!(moduleId in __webpack_modules__)) {
1386 1386 /******/ delete __webpack_module_cache__[moduleId];
1387 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
1387 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
1388 1388 /******/ e.code = 'MODULE_NOT_FOUND';
1389 1389 /******/ throw e;
1390 1390 /******/ }
1391 1391 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -1398,9 +1398,9 @@
1398 1398 /******/ /* webpack/runtime/compat get default export */
1399 1399 /******/ (() => {
1400 1400 /******/ // getDefaultExport function for compatibility with non-harmony modules
1401 1401 /******/ __webpack_require__.n = (module) => {
1402 -/******/ var getter = module && module.__esModule ?
1402 +/******/ const getter = module && module.__esModule ?
1403 1403 /******/ () => (module['default']) :
1404 1404 /******/ () => (module);
1405 1405 /******/ __webpack_require__.d(getter, { a: getter });
1406 1406 /******/ return getter;
@@ -1408,14 +1408,29 @@
1408 1408 /******/ })();
1409 1409 /******/
1410 1410 /******/ /* webpack/runtime/define property getters */
1411 1411 /******/ (() => {
1412 -/******/ // define getter functions for harmony exports
1412 +/******/ // define getter/value functions for harmony exports
1413 1413 /******/ __webpack_require__.d = (exports, definition) => {
1414 -/******/ for(var key in definition) {
1415 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1416 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1414 +/******/ if(Array.isArray(definition)) {
1415 +/******/ var i = 0;
1416 +/******/ while(i < definition.length) {
1417 +/******/ var key = definition[i++];
1418 +/******/ var binding = definition[i++];
1419 +/******/ if(!__webpack_require__.o(exports, key)) {
1420 +/******/ if(binding === 0) {
1421 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
1422 +/******/ } else {
1423 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
1424 +/******/ }
1425 +/******/ } else if(binding === 0) { i++; }
1417 1426 /******/ }
1427 +/******/ } else {
1428 +/******/ for(var key in definition) {
1429 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1430 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1431 +/******/ }
1432 +/******/ }
1418 1433 /******/ }
1419 1434 /******/ };
1420 1435 /******/ })();
1421 1436 /******/
@@ -1420,9 +1435,9 @@
1420 1435 /******/ })();
1421 1436 /******/
1422 1437 /******/ /* webpack/runtime/hasOwnProperty shorthand */
1423 1438 /******/ (() => {
1424 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1439 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
1425 1440 /******/ })();
1426 1441 /******/
1427 1442 /******/ /* webpack/runtime/make namespace object */
1428 1443 /******/ (() => {
@@ -1427,9 +1442,9 @@
1427 1442 /******/ /* webpack/runtime/make namespace object */
1428 1443 /******/ (() => {
1429 1444 /******/ // define __esModule on exports
1430 1445 /******/ __webpack_require__.r = (exports) => {
1431 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1446 +/******/ if(Symbol.toStringTag) {
1432 1447 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1433 1448 /******/ }
1434 1449 /******/ Object.defineProperty(exports, '__esModule', { value: true });
1435 1450 /******/ };
@@ -1435,9 +1450,9 @@
1435 1450 /******/ };
1436 1451 /******/ })();
1437 1452 /******/
1438 1453 /************************************************************************/
1439 -var __webpack_exports__ = {};
1454 +let __webpack_exports__ = {};
1440 1455 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
1441 1456 (() => {
1442 1457 /*!*******************************************************************************!*\
1443 1458 !*** ./assets/src/apps/js/blocks/single-course-item/item-curriculum/index.js ***!
@@ -1448,10 +1463,10 @@
1448 1463 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/single-course-item/item-curriculum/block.json");
1449 1464 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
1450 1465 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
1451 1466 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
1452 -/**
1453 - * Register block item curriculum.
1467 +/**
1468 + * Register block item curriculum.
1454 1469 */
1455 1470
1456 1471
1457 1472