Changeset 39604
- Timestamp:
- 12/15/2016 01:01:26 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/js/wp-api.js
r39344 r39604 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.