Open
Description
/**
* Class representing a Collection of Models
*
* @class My.Collection
* @extends Backbone.Collection
*
*
*/
My.Collection = Backbone.Collection.extend({
/**
* Where to access API.
*
* @type {string} [urlRoot=My.Config.apiUrl] -
*/
urlRoot: My.Config.apiUrl,
/**
* Init function
*
* @type {function}
* @param {Object} options - my options
*/
initialize: function(options) {
Backbone.Collection.prototype.initialize.call(this, options);
},
//.. continues
These 3 comment blocks appear completely separate in the docs. I would expect the 'urlRoot' attribute & 'initialize' function to be grouped with My.Collection class doc. They are all in alphabetical order, meaning I have several 'initialize' functions listed together without any context as I'm extending other Backbone base classes.