1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-27 15:37:43 +00:00
seahub/static/scripts/app/collections/starred-files.js
2015-05-04 17:02:20 +08:00

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;
});