1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-26 07:02:11 +00:00
seahub/static/scripts/app/collections/devices.js
2016-03-15 18:19:12 +08:00

18 lines
356 B
JavaScript

define([
'underscore',
'backbone',
'common',
'app/models/device'
], function(_, Backbone, Common, Device) {
'use strict';
var DevicesCollection = Backbone.Collection.extend({
model: Device,
url: function () {
return Common.getUrl({name: 'devices'});
}
});
return DevicesCollection;
});