mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-22 05:08:33 +00:00
21 lines
398 B
JavaScript
21 lines
398 B
JavaScript
define([
|
|
'underscore',
|
|
'backbone',
|
|
'common'
|
|
], function(_, Backbone, Common) {
|
|
'use strict';
|
|
|
|
var collection = Backbone.Collection.extend({
|
|
url: function() {
|
|
return Common.getUrl({name: 'admin-address-book-groups'});
|
|
},
|
|
|
|
parse: function(data) {
|
|
return data.data; // return the array
|
|
}
|
|
|
|
});
|
|
|
|
return collection;
|
|
});
|