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