1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00
Files
seahub/static/scripts/app/collections/pub-repos.js

18 lines
321 B
JavaScript
Raw Normal View History

2015-04-03 17:01:13 +08: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 13:43:41 +08:00
comparator: -'mtime'
2015-04-03 17:01:13 +08:00
});
return PubRepoCollection;
});