1 /** 2 * Collection for storing comment models 3 * Default sorting methods (comparator method) can be specified here 4 * 5 * @class CommentCollection 6 * @extends Backbone.Collection 7 * @author Bodnar Istvan <istvan@gawker.com> 8 */ 9 /*global CommentModel */ 10 var CommentCollection = Backbone.Collection.extend( 11 /** @lends CommentCollection.prototype */ 12 { 13 /** 14 * Sets the allowed type of contained models 15 * @type Backbone.Model 16 */ 17 model: CommentModel 18 } 19 );