mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-30 00:42:53 +00:00
19 lines
365 B
JavaScript
19 lines
365 B
JavaScript
|
define([
|
||
|
'underscore',
|
||
|
'backbone',
|
||
|
'common',
|
||
|
'app/models/deleted-repo'
|
||
|
], function(_, Backbone, Common, DeletedRepo) {
|
||
|
'use strict';
|
||
|
|
||
|
var collection = Backbone.Collection.extend({
|
||
|
model: DeletedRepo,
|
||
|
|
||
|
url: function () {
|
||
|
return Common.getUrl({name: 'deleted_repos'});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
return collection;
|
||
|
});
|