mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-27 15:37:43 +00:00
18 lines
386 B
JavaScript
18 lines
386 B
JavaScript
define([
|
|
'underscore',
|
|
'backbone',
|
|
'common',
|
|
'app/models/starred-file'
|
|
], function(_, Backbone, Common, StarredFile) {
|
|
'use strict';
|
|
|
|
var StarredFileCollection = Backbone.Collection.extend({
|
|
model: StarredFile,
|
|
url: function () {
|
|
return Common.getUrl({name: 'starred_files'});
|
|
}
|
|
});
|
|
|
|
return StarredFileCollection;
|
|
});
|