PluginProbe
Gutenberg / 14.5.2
Gutenberg v14.5.2
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/html-entities/index.js +14 -14 12.6.0 → 14.5.2 View file →
@@ -1,5 +1,5 @@
1 -/******/ (function() { // webpackBootstrap
1 +/******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ // The require scope
4 4 /******/ var __webpack_require__ = {};
5 5 /******/
@@ -4,11 +4,11 @@
4 4 /******/ var __webpack_require__ = {};
5 5 /******/
6 6 /************************************************************************/
7 7 /******/ /* webpack/runtime/define property getters */
8 -/******/ !function() {
8 +/******/ (() => {
9 9 /******/ // define getter functions for harmony exports
10 -/******/ __webpack_require__.d = function(exports, definition) {
10 +/******/ __webpack_require__.d = (exports, definition) => {
11 11 /******/ for(var key in definition) {
12 12 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13 13 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14 14 /******/ }
@@ -13,31 +13,31 @@
13 13 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14 14 /******/ }
15 15 /******/ }
16 16 /******/ };
17 -/******/ }();
17 +/******/ })();
18 18 /******/
19 19 /******/ /* webpack/runtime/hasOwnProperty shorthand */
20 -/******/ !function() {
21 -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
22 -/******/ }();
20 +/******/ (() => {
21 +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
22 +/******/ })();
23 23 /******/
24 24 /******/ /* webpack/runtime/make namespace object */
25 -/******/ !function() {
25 +/******/ (() => {
26 26 /******/ // define __esModule on exports
27 -/******/ __webpack_require__.r = function(exports) {
27 +/******/ __webpack_require__.r = (exports) => {
28 28 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
29 29 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
30 30 /******/ }
31 31 /******/ Object.defineProperty(exports, '__esModule', { value: true });
32 32 /******/ };
33 -/******/ }();
33 +/******/ })();
34 34 /******/
35 35 /************************************************************************/
36 36 var __webpack_exports__ = {};
37 37 __webpack_require__.r(__webpack_exports__);
38 38 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
39 -/* harmony export */ "decodeEntities": function() { return /* binding */ decodeEntities; }
39 +/* harmony export */ "decodeEntities": () => (/* binding */ decodeEntities)
40 40 /* harmony export */ });
41 41 /** @type {HTMLTextAreaElement} */
42 42 let _decodeTextArea;
43 43 /**
@@ -55,12 +55,12 @@
55 55 */
56 56
57 57
58 58 function decodeEntities(html) {
59 - // not a string, or no entities to decode
59 + // Not a string, or no entities to decode.
60 60 if ('string' !== typeof html || -1 === html.indexOf('&')) {
61 61 return html;
62 - } // create a textarea for decoding entities, that we can reuse
62 + } // Create a textarea for decoding entities, that we can reuse.
63 63
64 64
65 65 if (undefined === _decodeTextArea) {
66 66 if (document.implementation && document.implementation.createHTMLDocument) {
@@ -95,8 +95,8 @@
95 95 /** @type {string} */
96 96 decoded
97 97 );
98 98 }
99 -//# sourceMappingURL=index.js.map
99 +
100 100 (window.wp = window.wp || {}).htmlEntities = __webpack_exports__;
101 101 /******/ })()
102 102 ;