cartodb/lib/assets/javascripts/builder/data/user-groups-collection.js

14 lines
281 B
JavaScript
Raw Normal View History

2020-06-15 10:58:47 +08:00
var Backbone = require('backbone');
var GroupModel = require('./group-model');
/**
* Collection of a User's groups.
*/
module.exports = Backbone.Collection.extend({
model: GroupModel,
initialize: function (models, opts) {
this.organization = opts.organization;
}
});