mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 10:07:10 +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;
|
|
});
|