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

18 lines
322 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,
comparator: -'mtime',
});
return PubRepoCollection;
});