mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 09:21:57 +00:00
15 lines
281 B
JavaScript
15 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;
|
|
});
|