1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +00:00
Files
.tx
fabfile
locale
media
seahub
sql
static
css
scripts
app
collections
models
dirent.js
group-repo.js
pub-repo.js
repo.js
starred-file.js
views
main.js
router.js
i18n
lib
build.js
common.js
file-tree.js
group.js
main.js
myhome.js
organization.js
pinyin-by-unicode.js
tests
thirdpart
tools
.gitignore
.travis.yml
CONTRIBUTORS
HACKING
LICENSE.txt
Makefile
README.markdown
code-check.sh
i18n.sh
manage.py
pylintrc
pylintrc.template
pytest.ini
requirements.txt
run-seahub.sh.template
send_user_notifications.sh.template
setenv.sh.template
test-requirements.txt
seahub/static/scripts/app/models/group-repo.js

18 lines
314 B
JavaScript
Raw Normal View History

2015-01-21 22:22:34 +08:00
define([
'underscore',
'backbone',
'app/models/repo'
], function(_, Backbone, Repo) {
2015-01-21 22:22:34 +08:00
'use strict';
var GroupRepo = Repo.extend({
2015-01-21 22:22:34 +08:00
defaults: {
2015-06-10 13:43:41 +08:00
permission: "r"
2015-01-21 22:22:34 +08:00
}
});
_.extend(GroupRepo.prototype.defaults, Repo.prototype.defaults);
2015-01-21 22:22:34 +08:00
return GroupRepo;
});