mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 09:49:00 +00:00
16 lines
305 B
JavaScript
16 lines
305 B
JavaScript
"use strict";
|
|
define(
|
|
[
|
|
'backbone',
|
|
'constants'
|
|
], function (Backbone) {
|
|
|
|
var model = Backbone.Model.extend({
|
|
url: Constants.ApiRoot + '/system/status'
|
|
});
|
|
|
|
|
|
var instance = new model();
|
|
instance.fetch();
|
|
return instance;
|
|
});
|