Skip to content

Commit 59ae74c

Browse files
committed
remove default hasOne/hasMany attrs as they aren't needed
1 parent 33bf327 commit 59ae74c

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/rails_model.js

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,14 @@
9090
this.unset(railsAssociation, {silent: true});
9191
};
9292

93+
/**
94+
*
95+
* @public
96+
* @class
97+
*
98+
*/
9399
Backbone.RailsModel = Backbone.Model.extend({
94100

95-
/**
96-
*
97-
* @public
98-
* @type {Array}
99-
*
100-
* Array of hasMany associations (empty by default)
101-
*
102-
*/
103-
hasMany: [],
104-
105101
/**
106102
*
107103
* @private

0 commit comments

Comments
 (0)