mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Updated test, not referencing Model anymore
This commit is contained in:
1 parent
aa7188013a
commit
b64194b52f
1 file changed
+1
-1
@@ -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