diff -r f4cbc517126d -r d87f6bdee43d client/js/models.js --- a/client/js/models.js Thu Oct 24 19:00:50 2013 +0200 +++ b/client/js/models.js Fri Oct 25 01:20:25 2013 +0200 @@ -61,9 +61,9 @@ title: this.get("title"), uri: this.get("uri"), description: this.get("description"), - color: this.get("color"), + color: this.get("color") }; - }, + } }); // NODE @@ -93,7 +93,7 @@ size: this.get("size"), "clip-path": this.get("clip-path") }; - }, + } }); // EDGE @@ -114,7 +114,7 @@ type: Backbone.HasOne, key: "to", relatedModel: Node - }, + } ], prepare: function(options) { var project = options.project; @@ -134,7 +134,7 @@ color: this.get("color"), created_by: this.get("created_by") ? this.get("created_by").get("_id") : null }; - }, + } }); // PROJECT @@ -148,7 +148,7 @@ reverseRelation: { key: 'project', includeInJSON: '_id' - }, + } }, { type: Backbone.HasMany, @@ -157,7 +157,7 @@ reverseRelation: { key: 'project', includeInJSON: '_id' - }, + } }, { type: Backbone.HasMany, @@ -166,7 +166,7 @@ reverseRelation: { key: 'project', includeInJSON: '_id' - }, + } } ], addUser: function(_props, _options) { @@ -260,7 +260,7 @@ project: (this.get("project") != null)?this.get("project").get("id"):null, site_id: this.get("site_id") }; - }, + } }); var UsersList = Models.UsersList = Backbone.Collection.extend({