1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-26 15:12:32 +00:00
seahub/static/scripts/app/collections/devices.js

18 lines
356 B
JavaScript
Raw Normal View History

2016-03-15 10:18:45 +00:00
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;
});