mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Moved source code under src folder - massive change
This commit is contained in:
15
src/UI/System/StatusModel.js
Normal file
15
src/UI/System/StatusModel.js
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone'
|
||||
], function (Backbone) {
|
||||
|
||||
var StatusModel = Backbone.Model.extend({
|
||||
url: window.NzbDrone.ApiRoot + '/system/status'
|
||||
});
|
||||
|
||||
|
||||
var instance = new StatusModel();
|
||||
instance.fetch();
|
||||
return instance;
|
||||
});
|
||||
Reference in New Issue
Block a user