1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-29 00:17:18 +00:00
seahub/static/scripts/app/collections/pub-repos.js

18 lines
321 B
JavaScript
Raw Normal View History

2015-04-03 09:01:13 +00:00
define([
'underscore',
'backbone',
'app/models/pub-repo'
], function(_, Backbone, PubRepo) {
'use strict';
var PubRepoCollection = Backbone.Collection.extend({
model: PubRepo,
url: app.pageOptions.pubReposUrl,
2015-06-10 05:43:41 +00:00
comparator: -'mtime'
2015-04-03 09:01:13 +00:00
});
return PubRepoCollection;
});