* initial backbone port * changed AspectMembershipsController#destroy to use aspect_membership_id * included rudimentary jasmine specs * more specs, updating the list elements after de-/selection * update selected aspect count on button * don't even try to render html in AspectMembershipsController * more specs for button summary text * adapt aspect management on contacts page and in the popup boxes * adapt inline creation of aspects + memberships TODO * more tests
7 lines
No EOL
216 B
JavaScript
7 lines
No EOL
216 B
JavaScript
/**
|
|
* this model represents the assignment of an aspect to a person.
|
|
* (only valid for the context of the current user)
|
|
*/
|
|
app.models.AspectMembership = Backbone.Model.extend({
|
|
urlRoot: "/aspect_memberships"
|
|
}); |