1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-02 01:42:41 +00:00
seahub/static/scripts/app/collections/pub-repos.js
2015-06-10 13:43:41 +08:00

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;
});