Changeset 39603
- Timestamp:
- 12/15/2016 12:53:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-api.js
r39344 r39603 1235 1235 1236 1236 // Specify the model that this collection contains. 1237 model: loadingObjects.models[ modelClassName ], 1237 model: function( attrs, options ) { 1238 return new loadingObjects.models[ modelClassName ]( attrs, options ); 1239 }, 1238 1240 1239 1241 // Include a reference to the original class name. … … 1258 1260 1259 1261 // Specify the model that this collection contains. 1260 model: loadingObjects.models[ modelClassName ], 1262 model: function( attrs, options ) { 1263 return new loadingObjects.models[ modelClassName ]( attrs, options ); 1264 }, 1261 1265 1262 1266 // Include a reference to the original class name.
Note: See TracChangeset
for help on using the changeset viewer.