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-price.js +34 -19 4.3.8 → 4.4.10 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
@@ -70,13 +70,13 @@
70 70 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
71 71 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
72 72 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
73 73 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
74 -/**
75 - * Check if the block can be loaded in the current template.
76 - *
77 - * @since 4.2.8.4
78 - * @version 1.0.0
74 +/**
75 + * Check if the block can be loaded in the current template.
76 + *
77 + * @since 4.2.8.4
78 + * @version 1.0.0
79 79 */
80 80
81 81
82 82 let currentPostIdOld = null;
@@ -187,19 +187,19 @@
187 187
188 188 /******/ });
189 189 /************************************************************************/
190 190 /******/ // The module cache
191 -/******/ var __webpack_module_cache__ = {};
191 +/******/ const __webpack_module_cache__ = {};
192 192 /******/
193 193 /******/ // The require function
194 194 /******/ function __webpack_require__(moduleId) {
195 195 /******/ // Check if module is in cache
196 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
196 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
197 197 /******/ if (cachedModule !== undefined) {
198 198 /******/ return cachedModule.exports;
199 199 /******/ }
200 200 /******/ // Create a new module (and put it into the cache)
201 -/******/ var module = __webpack_module_cache__[moduleId] = {
201 +/******/ const module = __webpack_module_cache__[moduleId] = {
202 202 /******/ // no module.id needed
203 203 /******/ // no module.loaded needed
204 204 /******/ exports: {}
205 205 /******/ };
@@ -206,9 +206,9 @@
206 206 /******/
207 207 /******/ // Execute the module function
208 208 /******/ if (!(moduleId in __webpack_modules__)) {
209 209 /******/ delete __webpack_module_cache__[moduleId];
210 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
210 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
211 211 /******/ e.code = 'MODULE_NOT_FOUND';
212 212 /******/ throw e;
213 213 /******/ }
214 214 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -221,9 +221,9 @@
221 221 /******/ /* webpack/runtime/compat get default export */
222 222 /******/ (() => {
223 223 /******/ // getDefaultExport function for compatibility with non-harmony modules
224 224 /******/ __webpack_require__.n = (module) => {
225 -/******/ var getter = module && module.__esModule ?
225 +/******/ const getter = module && module.__esModule ?
226 226 /******/ () => (module['default']) :
227 227 /******/ () => (module);
228 228 /******/ __webpack_require__.d(getter, { a: getter });
229 229 /******/ return getter;
@@ -231,14 +231,29 @@
231 231 /******/ })();
232 232 /******/
233 233 /******/ /* webpack/runtime/define property getters */
234 234 /******/ (() => {
235 -/******/ // define getter functions for harmony exports
235 +/******/ // define getter/value functions for harmony exports
236 236 /******/ __webpack_require__.d = (exports, definition) => {
237 -/******/ for(var key in definition) {
238 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
239 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
237 +/******/ if(Array.isArray(definition)) {
238 +/******/ var i = 0;
239 +/******/ while(i < definition.length) {
240 +/******/ var key = definition[i++];
241 +/******/ var binding = definition[i++];
242 +/******/ if(!__webpack_require__.o(exports, key)) {
243 +/******/ if(binding === 0) {
244 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
245 +/******/ } else {
246 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
247 +/******/ }
248 +/******/ } else if(binding === 0) { i++; }
240 249 /******/ }
250 +/******/ } else {
251 +/******/ for(var key in definition) {
252 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
253 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
254 +/******/ }
255 +/******/ }
241 256 /******/ }
242 257 /******/ };
243 258 /******/ })();
244 259 /******/
@@ -243,9 +258,9 @@
243 258 /******/ })();
244 259 /******/
245 260 /******/ /* webpack/runtime/hasOwnProperty shorthand */
246 261 /******/ (() => {
247 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
262 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
248 263 /******/ })();
249 264 /******/
250 265 /******/ /* webpack/runtime/make namespace object */
251 266 /******/ (() => {
@@ -250,9 +265,9 @@
250 265 /******/ /* webpack/runtime/make namespace object */
251 266 /******/ (() => {
252 267 /******/ // define __esModule on exports
253 268 /******/ __webpack_require__.r = (exports) => {
254 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
269 +/******/ if(Symbol.toStringTag) {
255 270 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
256 271 /******/ }
257 272 /******/ Object.defineProperty(exports, '__esModule', { value: true });
258 273 /******/ };
@@ -258,9 +273,9 @@
258 273 /******/ };
259 274 /******/ })();
260 275 /******/
261 276 /************************************************************************/
262 -var __webpack_exports__ = {};
277 +let __webpack_exports__ = {};
263 278 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
264 279 (() => {
265 280 /*!*************************************************************************!*\
266 281 !*** ./assets/src/apps/js/blocks/course-elements/course-price/index.js ***!
@@ -271,10 +286,10 @@
271 286 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/course-elements/course-price/block.json");
272 287 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
273 288 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
274 289 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
275 -/**
276 - * Register block course price.
290 +/**
291 + * Register block course price.
277 292 */
278 293
279 294
280 295