10 lines
270 B
JavaScript
Executable File
10 lines
270 B
JavaScript
Executable File
var Backbone = require('backbone');
|
|
|
|
module.exports = Backbone.Collection.extend({
|
|
|
|
initialize: function (models, opts) {
|
|
if (!opts.visDefinitionModel) throw new Error('visDefinitionModel is required');
|
|
this.url = opts.visDefinitionModel.mapcapsURL();
|
|
}
|
|
});
|