mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Updated test, not referencing Model anymore
This commit is contained in:
@@ -11,7 +11,7 @@ class House extends Backbone.RelationalModel {
|
||||
type: Backbone.HasMany, // Use the type, or the string 'HasOne' or 'HasMany'.
|
||||
key: 'occupants',
|
||||
relatedModel: 'Person',
|
||||
includeInJSON: Backbone.Model.prototype.idAttribute,
|
||||
includeInJSON: true,
|
||||
collectionType: 'PersonCollection',
|
||||
reverseRelation: {
|
||||
key: 'livesIn'
|
||||
|
||||
Reference in New Issue
Block a user