mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-10 13:02:47 +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;
|
|
});
|