1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-30 08:53:49 +00:00
seahub/static/scripts/app/collections/starred-files.js

18 lines
386 B
JavaScript
Raw Normal View History

2015-05-04 09:02:20 +00:00
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;
});