mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-02 01:42:41 +00:00
18 lines
321 B
JavaScript
18 lines
321 B
JavaScript
define([
|
|
'underscore',
|
|
'backbone',
|
|
'app/models/pub-repo'
|
|
], function(_, Backbone, PubRepo) {
|
|
'use strict';
|
|
|
|
var PubRepoCollection = Backbone.Collection.extend({
|
|
model: PubRepo,
|
|
url: app.pageOptions.pubReposUrl,
|
|
|
|
comparator: -'mtime'
|
|
|
|
});
|
|
|
|
return PubRepoCollection;
|
|
});
|