mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Fix backbone-relational tests
This commit is contained in:
@@ -41,15 +41,6 @@ class Person extends Backbone.RelationalModel {
|
||||
}
|
||||
}
|
||||
|
||||
class PersonCollection extends Backbone.Collection {
|
||||
url(models)
|
||||
{
|
||||
// Logic to create a url for the whole collection, or a set of models.
|
||||
// See the tests, or Backbone-tastypie, for an example.
|
||||
return '/person/' + ( models ? 'set/' + _.pluck(models, 'id').join(';') + '/' : '' );
|
||||
}
|
||||
}
|
||||
|
||||
class User extends Backbone.RelationalModel {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user