wp/wp-includes/js/media-models.js
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
equal deleted inserted replaced
8:c7c34916027a 9:177826044cd9
    34 /******/ 	__webpack_require__.c = installedModules;
    34 /******/ 	__webpack_require__.c = installedModules;
    35 /******/
    35 /******/
    36 /******/ 	// define getter function for harmony exports
    36 /******/ 	// define getter function for harmony exports
    37 /******/ 	__webpack_require__.d = function(exports, name, getter) {
    37 /******/ 	__webpack_require__.d = function(exports, name, getter) {
    38 /******/ 		if(!__webpack_require__.o(exports, name)) {
    38 /******/ 		if(!__webpack_require__.o(exports, name)) {
    39 /******/ 			Object.defineProperty(exports, name, {
    39 /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
    40 /******/ 				configurable: false,
       
    41 /******/ 				enumerable: true,
       
    42 /******/ 				get: getter
       
    43 /******/ 			});
       
    44 /******/ 		}
    40 /******/ 		}
       
    41 /******/ 	};
       
    42 /******/
       
    43 /******/ 	// define __esModule on exports
       
    44 /******/ 	__webpack_require__.r = function(exports) {
       
    45 /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
       
    46 /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
       
    47 /******/ 		}
       
    48 /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
       
    49 /******/ 	};
       
    50 /******/
       
    51 /******/ 	// create a fake namespace object
       
    52 /******/ 	// mode & 1: value is a module id, require it
       
    53 /******/ 	// mode & 2: merge all properties of value into the ns
       
    54 /******/ 	// mode & 4: return value when already ns object
       
    55 /******/ 	// mode & 8|1: behave like require
       
    56 /******/ 	__webpack_require__.t = function(value, mode) {
       
    57 /******/ 		if(mode & 1) value = __webpack_require__(value);
       
    58 /******/ 		if(mode & 8) return value;
       
    59 /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
       
    60 /******/ 		var ns = Object.create(null);
       
    61 /******/ 		__webpack_require__.r(ns);
       
    62 /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
       
    63 /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
       
    64 /******/ 		return ns;
    45 /******/ 	};
    65 /******/ 	};
    46 /******/
    66 /******/
    47 /******/ 	// getDefaultExport function for compatibility with non-harmony modules
    67 /******/ 	// getDefaultExport function for compatibility with non-harmony modules
    48 /******/ 	__webpack_require__.n = function(module) {
    68 /******/ 	__webpack_require__.n = function(module) {
    49 /******/ 		var getter = module && module.__esModule ?
    69 /******/ 		var getter = module && module.__esModule ?
    57 /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
    77 /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
    58 /******/
    78 /******/
    59 /******/ 	// __webpack_public_path__
    79 /******/ 	// __webpack_public_path__
    60 /******/ 	__webpack_require__.p = "";
    80 /******/ 	__webpack_require__.p = "";
    61 /******/
    81 /******/
       
    82 /******/
    62 /******/ 	// Load entry module and return exports
    83 /******/ 	// Load entry module and return exports
    63 /******/ 	return __webpack_require__(__webpack_require__.s = 20);
    84 /******/ 	return __webpack_require__(__webpack_require__.s = 22);
    64 /******/ })
    85 /******/ })
    65 /************************************************************************/
    86 /************************************************************************/
    66 /******/ ({
    87 /******/ ({
    67 
    88 
    68 /***/ 20:
    89 /***/ 22:
    69 /***/ (function(module, exports, __webpack_require__) {
    90 /***/ (function(module, exports, __webpack_require__) {
       
    91 
       
    92 module.exports = __webpack_require__(23);
       
    93 
       
    94 
       
    95 /***/ }),
       
    96 
       
    97 /***/ 23:
       
    98 /***/ (function(module, exports, __webpack_require__) {
       
    99 
       
   100 /**
       
   101  * @output wp-includes/js/media-models.js
       
   102  */
    70 
   103 
    71 var $ = jQuery,
   104 var $ = jQuery,
    72 	Attachment, Attachments, l10n, media;
   105 	Attachment, Attachments, l10n, media;
    73 
   106 
    74 /** @namespace wp */
   107 /** @namespace wp */
   132 
   165 
   133 // Link any settings.
   166 // Link any settings.
   134 media.model.settings = l10n.settings || {};
   167 media.model.settings = l10n.settings || {};
   135 delete l10n.settings;
   168 delete l10n.settings;
   136 
   169 
   137 Attachment = media.model.Attachment = __webpack_require__( 21 );
   170 Attachment = media.model.Attachment = __webpack_require__( 24 );
   138 Attachments = media.model.Attachments = __webpack_require__( 22 );
   171 Attachments = media.model.Attachments = __webpack_require__( 25 );
   139 
   172 
   140 media.model.Query = __webpack_require__( 23 );
   173 media.model.Query = __webpack_require__( 26 );
   141 media.model.PostImage = __webpack_require__( 24 );
   174 media.model.PostImage = __webpack_require__( 27 );
   142 media.model.Selection = __webpack_require__( 25 );
   175 media.model.Selection = __webpack_require__( 28 );
   143 
   176 
   144 /**
   177 /**
   145  * ========================================================================
   178  * ========================================================================
   146  * UTILITIES
   179  * UTILITIES
   147  * ========================================================================
   180  * ========================================================================
   308 });
   341 });
   309 
   342 
   310 
   343 
   311 /***/ }),
   344 /***/ }),
   312 
   345 
   313 /***/ 21:
   346 /***/ 24:
   314 /***/ (function(module, exports) {
   347 /***/ (function(module, exports) {
   315 
   348 
   316 var $ = Backbone.$,
   349 var $ = Backbone.$,
   317 	Attachment;
   350 	Attachment;
   318 
   351 
   484 module.exports = Attachment;
   517 module.exports = Attachment;
   485 
   518 
   486 
   519 
   487 /***/ }),
   520 /***/ }),
   488 
   521 
   489 /***/ 22:
   522 /***/ 25:
   490 /***/ (function(module, exports) {
   523 /***/ (function(module, exports) {
   491 
   524 
   492 /**
   525 /**
   493  * wp.media.model.Attachments
   526  * wp.media.model.Attachments
   494  *
   527  *
  1043 module.exports = Attachments;
  1076 module.exports = Attachments;
  1044 
  1077 
  1045 
  1078 
  1046 /***/ }),
  1079 /***/ }),
  1047 
  1080 
  1048 /***/ 23:
  1081 /***/ 26:
  1049 /***/ (function(module, exports) {
  1082 /***/ (function(module, exports) {
  1050 
  1083 
  1051 var Attachments = wp.media.model.Attachments,
  1084 var Attachments = wp.media.model.Attachments,
  1052 	Query;
  1085 	Query;
  1053 
  1086 
  1358 module.exports = Query;
  1391 module.exports = Query;
  1359 
  1392 
  1360 
  1393 
  1361 /***/ }),
  1394 /***/ }),
  1362 
  1395 
  1363 /***/ 24:
  1396 /***/ 27:
  1364 /***/ (function(module, exports) {
  1397 /***/ (function(module, exports) {
  1365 
  1398 
  1366 /**
  1399 /**
  1367  * wp.media.model.PostImage
  1400  * wp.media.model.PostImage
  1368  *
  1401  *
  1519 module.exports = PostImage;
  1552 module.exports = PostImage;
  1520 
  1553 
  1521 
  1554 
  1522 /***/ }),
  1555 /***/ }),
  1523 
  1556 
  1524 /***/ 25:
  1557 /***/ 28:
  1525 /***/ (function(module, exports) {
  1558 /***/ (function(module, exports) {
  1526 
  1559 
  1527 var Attachments = wp.media.model.Attachments,
  1560 var Attachments = wp.media.model.Attachments,
  1528 	Selection;
  1561 	Selection;
  1529 
  1562