wp/wp-includes/js/media-models.js
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
--- a/wp/wp-includes/js/media-models.js	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/js/media-models.js	Fri Sep 05 18:40:08 2025 +0200
@@ -1,8 +1,8 @@
-/******/ (function() { // webpackBootstrap
+/******/ (() => { // webpackBootstrap
 /******/ 	var __webpack_modules__ = ({
 
-/***/ 7727:
-/***/ (function(module) {
+/***/ 3343:
+/***/ ((module) => {
 
 var $ = Backbone.$,
 	Attachment;
@@ -177,8 +177,8 @@
 
 /***/ }),
 
-/***/ 6940:
-/***/ (function(module) {
+/***/ 8266:
+/***/ ((module) => {
 
 /**
  * wp.media.model.Attachments
@@ -785,8 +785,8 @@
 
 /***/ }),
 
-/***/ 5927:
-/***/ (function(module) {
+/***/ 9104:
+/***/ ((module) => {
 
 /**
  * wp.media.model.PostImage
@@ -946,8 +946,8 @@
 
 /***/ }),
 
-/***/ 4009:
-/***/ (function(module) {
+/***/ 1288:
+/***/ ((module) => {
 
 var Attachments = wp.media.model.Attachments,
 	Query;
@@ -1257,8 +1257,8 @@
 
 /***/ }),
 
-/***/ 6584:
-/***/ (function(module) {
+/***/ 4134:
+/***/ ((module) => {
 
 var Attachments = wp.media.model.Attachments,
 	Selection;
@@ -1390,13 +1390,12 @@
 /************************************************************************/
 var __webpack_exports__ = {};
 // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
-!function() {
+(() => {
 /**
  * @output wp-includes/js/media-models.js
  */
 
-var $ = jQuery,
-	Attachment, Attachments, l10n, media;
+var Attachment, Attachments, l10n, media;
 
 /** @namespace wp */
 window.wp = window.wp || {};
@@ -1461,12 +1460,12 @@
 media.model.settings = l10n.settings || {};
 delete l10n.settings;
 
-Attachment = media.model.Attachment = __webpack_require__( 7727 );
-Attachments = media.model.Attachments = __webpack_require__( 6940 );
+Attachment = media.model.Attachment = __webpack_require__( 3343 );
+Attachments = media.model.Attachments = __webpack_require__( 8266 );
 
-media.model.Query = __webpack_require__( 4009 );
-media.model.PostImage = __webpack_require__( 5927 );
-media.model.Selection = __webpack_require__( 6584 );
+media.model.Query = __webpack_require__( 1288 );
+media.model.PostImage = __webpack_require__( 9104 );
+media.model.Selection = __webpack_require__( 4134 );
 
 /**
  * ========================================================================
@@ -1631,11 +1630,7 @@
 	});
 };
 
-// Clean up. Prevents mobile browsers caching.
-$(window).on('unload', function(){
-	window.wp = null;
-});
+})();
 
-}();
 /******/ })()
 ;
\ No newline at end of file