mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-29 16:37:56 +00:00
18 lines
363 B
JavaScript
18 lines
363 B
JavaScript
define([
|
|
'underscore',
|
|
'backbone',
|
|
'common',
|
|
'app/models/activity'
|
|
], function(_, Backbone, Common, Activity) {
|
|
'use strict';
|
|
|
|
var ActivityCollection = Backbone.Collection.extend({
|
|
model: Activity,
|
|
url: function () {
|
|
return Common.getUrl({name: 'events'});
|
|
}
|
|
});
|
|
|
|
return ActivityCollection;
|
|
});
|