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:
17
static/scripts/app/collections/pub-repos.js
Normal file
17
static/scripts/app/collections/pub-repos.js
Normal 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;
|
||||
});
|
Reference in New Issue
Block a user