mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Move scripts from media to static folder
This commit is contained in:
17
static/scripts/app/models/group-repo.js
Normal file
17
static/scripts/app/models/group-repo.js
Normal file
@@ -0,0 +1,17 @@
|
||||
define([
|
||||
'underscore',
|
||||
'backbone',
|
||||
'app/models/repo'
|
||||
], function(_, Backbone, Repo) {
|
||||
'use strict';
|
||||
|
||||
var GroupRepo = Repo.extend({
|
||||
defaults: {
|
||||
permission: "r",
|
||||
}
|
||||
});
|
||||
|
||||
_.extend(GroupRepo.prototype.defaults, Repo.prototype.defaults);
|
||||
|
||||
return GroupRepo;
|
||||
});
|
Reference in New Issue
Block a user