2013-06-22 06:24:24 +00:00
|
|
|
'use strict';
|
2013-06-21 00:06:56 +00:00
|
|
|
define(
|
|
|
|
[
|
2013-07-28 20:20:26 +00:00
|
|
|
'backbone'
|
2013-06-21 00:06:56 +00:00
|
|
|
], function (Backbone) {
|
|
|
|
|
|
|
|
var model = Backbone.Model.extend({
|
2013-09-14 07:10:19 +00:00
|
|
|
url: window.NzbDrone.ApiRoot + '/system/status'
|
2013-06-21 00:06:56 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
var instance = new model();
|
|
|
|
instance.fetch();
|
|
|
|
return instance;
|
|
|
|
});
|