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-level.js +34 -19 4.3.8 → 4.4.9.1 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
@@ -104,13 +104,13 @@
104 104 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
105 105 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
106 106 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
107 107 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
108 -/**
109 - * Check if the block can be loaded in the current template.
110 - *
111 - * @since 4.2.8.4
112 - * @version 1.0.0
108 +/**
109 + * Check if the block can be loaded in the current template.
110 + *
111 + * @since 4.2.8.4
112 + * @version 1.0.0
113 113 */
114 114
115 115
116 116 let currentPostIdOld = null;
@@ -231,19 +231,19 @@
231 231
232 232 /******/ });
233 233 /************************************************************************/
234 234 /******/ // The module cache
235 -/******/ var __webpack_module_cache__ = {};
235 +/******/ const __webpack_module_cache__ = {};
236 236 /******/
237 237 /******/ // The require function
238 238 /******/ function __webpack_require__(moduleId) {
239 239 /******/ // Check if module is in cache
240 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
240 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
241 241 /******/ if (cachedModule !== undefined) {
242 242 /******/ return cachedModule.exports;
243 243 /******/ }
244 244 /******/ // Create a new module (and put it into the cache)
245 -/******/ var module = __webpack_module_cache__[moduleId] = {
245 +/******/ const module = __webpack_module_cache__[moduleId] = {
246 246 /******/ // no module.id needed
247 247 /******/ // no module.loaded needed
248 248 /******/ exports: {}
249 249 /******/ };
@@ -250,9 +250,9 @@
250 250 /******/
251 251 /******/ // Execute the module function
252 252 /******/ if (!(moduleId in __webpack_modules__)) {
253 253 /******/ delete __webpack_module_cache__[moduleId];
254 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
254 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
255 255 /******/ e.code = 'MODULE_NOT_FOUND';
256 256 /******/ throw e;
257 257 /******/ }
258 258 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -265,9 +265,9 @@
265 265 /******/ /* webpack/runtime/compat get default export */
266 266 /******/ (() => {
267 267 /******/ // getDefaultExport function for compatibility with non-harmony modules
268 268 /******/ __webpack_require__.n = (module) => {
269 -/******/ var getter = module && module.__esModule ?
269 +/******/ const getter = module && module.__esModule ?
270 270 /******/ () => (module['default']) :
271 271 /******/ () => (module);
272 272 /******/ __webpack_require__.d(getter, { a: getter });
273 273 /******/ return getter;
@@ -275,14 +275,29 @@
275 275 /******/ })();
276 276 /******/
277 277 /******/ /* webpack/runtime/define property getters */
278 278 /******/ (() => {
279 -/******/ // define getter functions for harmony exports
279 +/******/ // define getter/value functions for harmony exports
280 280 /******/ __webpack_require__.d = (exports, definition) => {
281 -/******/ for(var key in definition) {
282 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
283 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
281 +/******/ if(Array.isArray(definition)) {
282 +/******/ var i = 0;
283 +/******/ while(i < definition.length) {
284 +/******/ var key = definition[i++];
285 +/******/ var binding = definition[i++];
286 +/******/ if(!__webpack_require__.o(exports, key)) {
287 +/******/ if(binding === 0) {
288 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
289 +/******/ } else {
290 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
291 +/******/ }
292 +/******/ } else if(binding === 0) { i++; }
284 293 /******/ }
294 +/******/ } else {
295 +/******/ for(var key in definition) {
296 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
297 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
298 +/******/ }
299 +/******/ }
285 300 /******/ }
286 301 /******/ };
287 302 /******/ })();
288 303 /******/
@@ -287,9 +302,9 @@
287 302 /******/ })();
288 303 /******/
289 304 /******/ /* webpack/runtime/hasOwnProperty shorthand */
290 305 /******/ (() => {
291 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
306 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
292 307 /******/ })();
293 308 /******/
294 309 /******/ /* webpack/runtime/make namespace object */
295 310 /******/ (() => {
@@ -294,9 +309,9 @@
294 309 /******/ /* webpack/runtime/make namespace object */
295 310 /******/ (() => {
296 311 /******/ // define __esModule on exports
297 312 /******/ __webpack_require__.r = (exports) => {
298 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
313 +/******/ if(Symbol.toStringTag) {
299 314 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
300 315 /******/ }
301 316 /******/ Object.defineProperty(exports, '__esModule', { value: true });
302 317 /******/ };
@@ -302,9 +317,9 @@
302 317 /******/ };
303 318 /******/ })();
304 319 /******/
305 320 /************************************************************************/
306 -var __webpack_exports__ = {};
321 +let __webpack_exports__ = {};
307 322 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
308 323 (() => {
309 324 /*!*************************************************************************!*\
310 325 !*** ./assets/src/apps/js/blocks/course-elements/course-level/index.js ***!
@@ -315,10 +330,10 @@
315 330 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/course-elements/course-level/block.json");
316 331 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
317 332 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
318 333 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
319 -/**
320 - * Register block course level.
334 +/**
335 + * Register block course level.
321 336 */
322 337
323 338
324 339