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/instructor-avatar.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
@@ -98,13 +98,13 @@
98 98 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
99 99 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
100 100 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
101 101 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
102 -/**
103 - * Check if the block can be loaded in the current template.
104 - *
105 - * @since 4.2.8.4
106 - * @version 1.0.0
102 +/**
103 + * Check if the block can be loaded in the current template.
104 + *
105 + * @since 4.2.8.4
106 + * @version 1.0.0
107 107 */
108 108
109 109
110 110 let currentPostIdOld = null;
@@ -215,19 +215,19 @@
215 215
216 216 /******/ });
217 217 /************************************************************************/
218 218 /******/ // The module cache
219 -/******/ var __webpack_module_cache__ = {};
219 +/******/ const __webpack_module_cache__ = {};
220 220 /******/
221 221 /******/ // The require function
222 222 /******/ function __webpack_require__(moduleId) {
223 223 /******/ // Check if module is in cache
224 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
224 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
225 225 /******/ if (cachedModule !== undefined) {
226 226 /******/ return cachedModule.exports;
227 227 /******/ }
228 228 /******/ // Create a new module (and put it into the cache)
229 -/******/ var module = __webpack_module_cache__[moduleId] = {
229 +/******/ const module = __webpack_module_cache__[moduleId] = {
230 230 /******/ // no module.id needed
231 231 /******/ // no module.loaded needed
232 232 /******/ exports: {}
233 233 /******/ };
@@ -234,9 +234,9 @@
234 234 /******/
235 235 /******/ // Execute the module function
236 236 /******/ if (!(moduleId in __webpack_modules__)) {
237 237 /******/ delete __webpack_module_cache__[moduleId];
238 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
238 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
239 239 /******/ e.code = 'MODULE_NOT_FOUND';
240 240 /******/ throw e;
241 241 /******/ }
242 242 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -249,9 +249,9 @@
249 249 /******/ /* webpack/runtime/compat get default export */
250 250 /******/ (() => {
251 251 /******/ // getDefaultExport function for compatibility with non-harmony modules
252 252 /******/ __webpack_require__.n = (module) => {
253 -/******/ var getter = module && module.__esModule ?
253 +/******/ const getter = module && module.__esModule ?
254 254 /******/ () => (module['default']) :
255 255 /******/ () => (module);
256 256 /******/ __webpack_require__.d(getter, { a: getter });
257 257 /******/ return getter;
@@ -259,14 +259,29 @@
259 259 /******/ })();
260 260 /******/
261 261 /******/ /* webpack/runtime/define property getters */
262 262 /******/ (() => {
263 -/******/ // define getter functions for harmony exports
263 +/******/ // define getter/value functions for harmony exports
264 264 /******/ __webpack_require__.d = (exports, definition) => {
265 -/******/ for(var key in definition) {
266 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
267 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
265 +/******/ if(Array.isArray(definition)) {
266 +/******/ var i = 0;
267 +/******/ while(i < definition.length) {
268 +/******/ var key = definition[i++];
269 +/******/ var binding = definition[i++];
270 +/******/ if(!__webpack_require__.o(exports, key)) {
271 +/******/ if(binding === 0) {
272 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
273 +/******/ } else {
274 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
275 +/******/ }
276 +/******/ } else if(binding === 0) { i++; }
268 277 /******/ }
278 +/******/ } else {
279 +/******/ for(var key in definition) {
280 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
281 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
282 +/******/ }
283 +/******/ }
269 284 /******/ }
270 285 /******/ };
271 286 /******/ })();
272 287 /******/
@@ -271,9 +286,9 @@
271 286 /******/ })();
272 287 /******/
273 288 /******/ /* webpack/runtime/hasOwnProperty shorthand */
274 289 /******/ (() => {
275 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
290 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
276 291 /******/ })();
277 292 /******/
278 293 /******/ /* webpack/runtime/make namespace object */
279 294 /******/ (() => {
@@ -278,9 +293,9 @@
278 293 /******/ /* webpack/runtime/make namespace object */
279 294 /******/ (() => {
280 295 /******/ // define __esModule on exports
281 296 /******/ __webpack_require__.r = (exports) => {
282 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
297 +/******/ if(Symbol.toStringTag) {
283 298 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
284 299 /******/ }
285 300 /******/ Object.defineProperty(exports, '__esModule', { value: true });
286 301 /******/ };
@@ -286,9 +301,9 @@
286 301 /******/ };
287 302 /******/ })();
288 303 /******/
289 304 /************************************************************************/
290 -var __webpack_exports__ = {};
305 +let __webpack_exports__ = {};
291 306 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
292 307 (() => {
293 308 /*!**********************************************************************************!*\
294 309 !*** ./assets/src/apps/js/blocks/instructor-elements/instructor-avatar/index.js ***!
@@ -300,10 +315,10 @@
300 315 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
301 316 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
302 317 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/comment-author-avatar.js");
303 318 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
304 -/**
305 - * Register block instructor avatar.
319 +/**
320 + * Register block instructor avatar.
306 321 */
307 322
308 323
309 324