10 lines
355 B
JavaScript
10 lines
355 B
JavaScript
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
|
|
|
|
app.collections.AspectMemberships = Backbone.Collection.extend({
|
|
model: app.models.AspectMembership,
|
|
|
|
findByAspectId: function(id) {
|
|
return this.find(function(membership) { return membership.belongsToAspect(id); });
|
|
}
|
|
});
|
|
// @license-end
|