PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9.1
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9.1
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 4.1.7.3.1 All 141 releases
← All changes | assets/js/dist/blocks/course-material.js +34 -19 4.3.9 → 4.4.9.1 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
@@ -97,13 +97,13 @@
97 97 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
98 98 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
99 99 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
100 100 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
101 -/**
102 - * Check if the block can be loaded in the current template.
103 - *
104 - * @since 4.2.8.4
105 - * @version 1.0.0
101 +/**
102 + * Check if the block can be loaded in the current template.
103 + *
104 + * @since 4.2.8.4
105 + * @version 1.0.0
106 106 */
107 107
108 108
109 109 let currentPostIdOld = null;
@@ -204,19 +204,19 @@
204 204
205 205 /******/ });
206 206 /************************************************************************/
207 207 /******/ // The module cache
208 -/******/ var __webpack_module_cache__ = {};
208 +/******/ const __webpack_module_cache__ = {};
209 209 /******/
210 210 /******/ // The require function
211 211 /******/ function __webpack_require__(moduleId) {
212 212 /******/ // Check if module is in cache
213 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
213 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
214 214 /******/ if (cachedModule !== undefined) {
215 215 /******/ return cachedModule.exports;
216 216 /******/ }
217 217 /******/ // Create a new module (and put it into the cache)
218 -/******/ var module = __webpack_module_cache__[moduleId] = {
218 +/******/ const module = __webpack_module_cache__[moduleId] = {
219 219 /******/ // no module.id needed
220 220 /******/ // no module.loaded needed
221 221 /******/ exports: {}
222 222 /******/ };
@@ -223,9 +223,9 @@
223 223 /******/
224 224 /******/ // Execute the module function
225 225 /******/ if (!(moduleId in __webpack_modules__)) {
226 226 /******/ delete __webpack_module_cache__[moduleId];
227 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
227 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
228 228 /******/ e.code = 'MODULE_NOT_FOUND';
229 229 /******/ throw e;
230 230 /******/ }
231 231 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -238,9 +238,9 @@
238 238 /******/ /* webpack/runtime/compat get default export */
239 239 /******/ (() => {
240 240 /******/ // getDefaultExport function for compatibility with non-harmony modules
241 241 /******/ __webpack_require__.n = (module) => {
242 -/******/ var getter = module && module.__esModule ?
242 +/******/ const getter = module && module.__esModule ?
243 243 /******/ () => (module['default']) :
244 244 /******/ () => (module);
245 245 /******/ __webpack_require__.d(getter, { a: getter });
246 246 /******/ return getter;
@@ -248,14 +248,29 @@
248 248 /******/ })();
249 249 /******/
250 250 /******/ /* webpack/runtime/define property getters */
251 251 /******/ (() => {
252 -/******/ // define getter functions for harmony exports
252 +/******/ // define getter/value functions for harmony exports
253 253 /******/ __webpack_require__.d = (exports, definition) => {
254 -/******/ for(var key in definition) {
255 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
256 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
254 +/******/ if(Array.isArray(definition)) {
255 +/******/ var i = 0;
256 +/******/ while(i < definition.length) {
257 +/******/ var key = definition[i++];
258 +/******/ var binding = definition[i++];
259 +/******/ if(!__webpack_require__.o(exports, key)) {
260 +/******/ if(binding === 0) {
261 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
262 +/******/ } else {
263 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
264 +/******/ }
265 +/******/ } else if(binding === 0) { i++; }
257 266 /******/ }
267 +/******/ } else {
268 +/******/ for(var key in definition) {
269 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
270 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
271 +/******/ }
272 +/******/ }
258 273 /******/ }
259 274 /******/ };
260 275 /******/ })();
261 276 /******/
@@ -260,9 +275,9 @@
260 275 /******/ })();
261 276 /******/
262 277 /******/ /* webpack/runtime/hasOwnProperty shorthand */
263 278 /******/ (() => {
264 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
279 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
265 280 /******/ })();
266 281 /******/
267 282 /******/ /* webpack/runtime/make namespace object */
268 283 /******/ (() => {
@@ -267,9 +282,9 @@
267 282 /******/ /* webpack/runtime/make namespace object */
268 283 /******/ (() => {
269 284 /******/ // define __esModule on exports
270 285 /******/ __webpack_require__.r = (exports) => {
271 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
286 +/******/ if(Symbol.toStringTag) {
272 287 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
273 288 /******/ }
274 289 /******/ Object.defineProperty(exports, '__esModule', { value: true });
275 290 /******/ };
@@ -275,9 +290,9 @@
275 290 /******/ };
276 291 /******/ })();
277 292 /******/
278 293 /************************************************************************/
279 -var __webpack_exports__ = {};
294 +let __webpack_exports__ = {};
280 295 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
281 296 (() => {
282 297 /*!****************************************************************************!*\
283 298 !*** ./assets/src/apps/js/blocks/course-elements/course-material/index.js ***!
@@ -288,10 +303,10 @@
288 303 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/course-elements/course-material/block.json");
289 304 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
290 305 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
291 306 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
292 -/**
293 - * Register block course price.
307 +/**
308 + * Register block course price.
294 309 */
295 310
296 311
297 312