sonarr-repo-only/UI/System/StatusModel.js

17 lines
305 B
JavaScript
Raw Normal View History

2013-06-22 06:24:24 +00:00
'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;
});