mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 07:52:37 +01:00
16 lines
281 B
JavaScript
16 lines
281 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'backbone'
|
|
], function (Backbone) {
|
|
|
|
var model = Backbone.Model.extend({
|
|
url: window.ApiRoot + '/system/status'
|
|
});
|
|
|
|
|
|
var instance = new model();
|
|
instance.fetch();
|
|
return instance;
|
|
});
|