mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-26 07:02:11 +00:00
18 lines
356 B
JavaScript
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;
|
|
});
|