You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
348 B
13 lines
348 B
var Backbone = require('backbone');
|
|
var HealthModel = require('./HealthModel');
|
|
require('../Mixins/backbone.signalr.mixin');
|
|
|
|
var Collection = Backbone.Collection.extend({
|
|
url : window.NzbDrone.ApiRoot + '/health',
|
|
model : HealthModel
|
|
});
|
|
|
|
var collection = new Collection().bindSignalR();
|
|
collection.fetch();
|
|
|
|
module.exports = collection; |