summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/dist/router.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-includes/js/dist/router.js36
1 files changed, 19 insertions, 17 deletions
diff --git a/wp-includes/js/dist/router.js b/wp-includes/js/dist/router.js
index e3f915b..6e482fa 100644
--- a/wp-includes/js/dist/router.js
+++ b/wp-includes/js/dist/router.js
@@ -1,36 +1,36 @@
-/******/ (function() { // webpackBootstrap
+/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
-/******/ !function() {
+/******/ (() => {
/******/ // define getter functions for harmony exports
-/******/ __webpack_require__.d = function(exports, definition) {
+/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
-/******/ }();
+/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
-/******/ !function() {
-/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
-/******/ }();
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
-/******/ !function() {
+/******/ (() => {
/******/ // define __esModule on exports
-/******/ __webpack_require__.r = function(exports) {
+/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
-/******/ }();
+/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
@@ -39,11 +39,13 @@ __webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
- privateApis: function() { return /* reexport */ privateApis; }
+ privateApis: () => (/* reexport */ privateApis)
});
+;// CONCATENATED MODULE: external "React"
+const external_React_namespaceObject = window["React"];
;// CONCATENATED MODULE: external ["wp","element"]
-var external_wp_element_namespaceObject = window["wp"]["element"];
+const external_wp_element_namespaceObject = window["wp"]["element"];
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
function extends_extends() {
extends_extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -850,7 +852,7 @@ function parsePath(path) {
;// CONCATENATED MODULE: external ["wp","url"]
-var external_wp_url_namespaceObject = window["wp"]["url"];
+const external_wp_url_namespaceObject = window["wp"]["url"];
;// CONCATENATED MODULE: ./node_modules/@wordpress/router/build-module/history.js
/**
* External dependencies
@@ -878,7 +880,7 @@ function replace(params, state) {
}
history_history.push = push;
history_history.replace = replace;
-/* harmony default export */ var build_module_history = (history_history);
+/* harmony default export */ const build_module_history = (history_history);
;// CONCATENATED MODULE: ./node_modules/@wordpress/router/build-module/router.js
@@ -917,15 +919,15 @@ function RouterProvider({
setLocation(getLocationWithParams(updatedLocation));
});
}, []);
- return (0,external_wp_element_namespaceObject.createElement)(HistoryContext.Provider, {
+ return (0,external_React_namespaceObject.createElement)(HistoryContext.Provider, {
value: build_module_history
- }, (0,external_wp_element_namespaceObject.createElement)(RoutesContext.Provider, {
+ }, (0,external_React_namespaceObject.createElement)(RoutesContext.Provider, {
value: location
}, children));
}
;// CONCATENATED MODULE: external ["wp","privateApis"]
-var external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
+const external_wp_privateApis_namespaceObject = window["wp"]["privateApis"];
;// CONCATENATED MODULE: ./node_modules/@wordpress/router/build-module/lock-unlock.js
/**
* WordPress dependencies