cartodb/lib/assets/javascripts/builder/data/user-groups-collection.js
2020-06-15 10:58:47 +08:00

14 lines
281 B
JavaScript
Executable File

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;
}
});