1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/System/StatusModel.js

16 lines
290 B
JavaScript
Raw Normal View History

2013-06-22 09:24:24 +03:00
'use strict';
define(
[
2013-07-28 23:20:26 +03:00
'backbone'
], function (Backbone) {
var model = Backbone.Model.extend({
2013-09-14 10:10:19 +03:00
url: window.NzbDrone.ApiRoot + '/system/status'
});
var instance = new model();
instance.fetch();
return instance;
});