equal
deleted
inserted
replaced
1 /******/ (function() { // webpackBootstrap |
1 /******/ (() => { // webpackBootstrap |
2 /******/ var __webpack_modules__ = ({ |
2 /******/ var __webpack_modules__ = ({ |
3 |
3 |
4 /***/ 7727: |
4 /***/ 3343: |
5 /***/ (function(module) { |
5 /***/ ((module) => { |
6 |
6 |
7 var $ = Backbone.$, |
7 var $ = Backbone.$, |
8 Attachment; |
8 Attachment; |
9 |
9 |
10 /** |
10 /** |
175 module.exports = Attachment; |
175 module.exports = Attachment; |
176 |
176 |
177 |
177 |
178 /***/ }), |
178 /***/ }), |
179 |
179 |
180 /***/ 6940: |
180 /***/ 8266: |
181 /***/ (function(module) { |
181 /***/ ((module) => { |
182 |
182 |
183 /** |
183 /** |
184 * wp.media.model.Attachments |
184 * wp.media.model.Attachments |
185 * |
185 * |
186 * A collection of attachments. |
186 * A collection of attachments. |
783 module.exports = Attachments; |
783 module.exports = Attachments; |
784 |
784 |
785 |
785 |
786 /***/ }), |
786 /***/ }), |
787 |
787 |
788 /***/ 5927: |
788 /***/ 9104: |
789 /***/ (function(module) { |
789 /***/ ((module) => { |
790 |
790 |
791 /** |
791 /** |
792 * wp.media.model.PostImage |
792 * wp.media.model.PostImage |
793 * |
793 * |
794 * An instance of an image that's been embedded into a post. |
794 * An instance of an image that's been embedded into a post. |
944 module.exports = PostImage; |
944 module.exports = PostImage; |
945 |
945 |
946 |
946 |
947 /***/ }), |
947 /***/ }), |
948 |
948 |
949 /***/ 4009: |
949 /***/ 1288: |
950 /***/ (function(module) { |
950 /***/ ((module) => { |
951 |
951 |
952 var Attachments = wp.media.model.Attachments, |
952 var Attachments = wp.media.model.Attachments, |
953 Query; |
953 Query; |
954 |
954 |
955 /** |
955 /** |
1255 module.exports = Query; |
1255 module.exports = Query; |
1256 |
1256 |
1257 |
1257 |
1258 /***/ }), |
1258 /***/ }), |
1259 |
1259 |
1260 /***/ 6584: |
1260 /***/ 4134: |
1261 /***/ (function(module) { |
1261 /***/ ((module) => { |
1262 |
1262 |
1263 var Attachments = wp.media.model.Attachments, |
1263 var Attachments = wp.media.model.Attachments, |
1264 Selection; |
1264 Selection; |
1265 |
1265 |
1266 /** |
1266 /** |
1388 /******/ } |
1388 /******/ } |
1389 /******/ |
1389 /******/ |
1390 /************************************************************************/ |
1390 /************************************************************************/ |
1391 var __webpack_exports__ = {}; |
1391 var __webpack_exports__ = {}; |
1392 // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. |
1392 // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. |
1393 !function() { |
1393 (() => { |
1394 /** |
1394 /** |
1395 * @output wp-includes/js/media-models.js |
1395 * @output wp-includes/js/media-models.js |
1396 */ |
1396 */ |
1397 |
1397 |
1398 var $ = jQuery, |
1398 var Attachment, Attachments, l10n, media; |
1399 Attachment, Attachments, l10n, media; |
|
1400 |
1399 |
1401 /** @namespace wp */ |
1400 /** @namespace wp */ |
1402 window.wp = window.wp || {}; |
1401 window.wp = window.wp || {}; |
1403 |
1402 |
1404 /** |
1403 /** |
1459 |
1458 |
1460 // Link any settings. |
1459 // Link any settings. |
1461 media.model.settings = l10n.settings || {}; |
1460 media.model.settings = l10n.settings || {}; |
1462 delete l10n.settings; |
1461 delete l10n.settings; |
1463 |
1462 |
1464 Attachment = media.model.Attachment = __webpack_require__( 7727 ); |
1463 Attachment = media.model.Attachment = __webpack_require__( 3343 ); |
1465 Attachments = media.model.Attachments = __webpack_require__( 6940 ); |
1464 Attachments = media.model.Attachments = __webpack_require__( 8266 ); |
1466 |
1465 |
1467 media.model.Query = __webpack_require__( 4009 ); |
1466 media.model.Query = __webpack_require__( 1288 ); |
1468 media.model.PostImage = __webpack_require__( 5927 ); |
1467 media.model.PostImage = __webpack_require__( 9104 ); |
1469 media.model.Selection = __webpack_require__( 6584 ); |
1468 media.model.Selection = __webpack_require__( 4134 ); |
1470 |
1469 |
1471 /** |
1470 /** |
1472 * ======================================================================== |
1471 * ======================================================================== |
1473 * UTILITIES |
1472 * UTILITIES |
1474 * ======================================================================== |
1473 * ======================================================================== |
1629 return new Attachments( null, { |
1628 return new Attachments( null, { |
1630 props: _.extend( _.defaults( props || {}, { orderby: 'date' } ), { query: true } ) |
1629 props: _.extend( _.defaults( props || {}, { orderby: 'date' } ), { query: true } ) |
1631 }); |
1630 }); |
1632 }; |
1631 }; |
1633 |
1632 |
1634 // Clean up. Prevents mobile browsers caching. |
1633 })(); |
1635 $(window).on('unload', function(){ |
1634 |
1636 window.wp = null; |
|
1637 }); |
|
1638 |
|
1639 }(); |
|
1640 /******/ })() |
1635 /******/ })() |
1641 ; |
1636 ; |