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

14 lines
281 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +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;
}
});