1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

Create repo in organization

This commit is contained in:
zhengxie
2015-04-03 17:01:13 +08:00
committed by Daniel Pan
parent d612ec360c
commit 49f26cb251
8 changed files with 160 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
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;
});