mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 15:23:40 -07:00
18 lines
488 B
JavaScript
18 lines
488 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'backbone',
|
||
'System/StatusModel'
|
||
], function (Backbone, StatusModel) {
|
||
return Backbone.Model.extend({
|
||
url: function () {
|
||
return StatusModel.get('urlBase') + '/logfile/' + this.get('filename');
|
||
},
|
||
|
||
parse: function (contents) {
|
||
var response = {};
|
||
response.contents = contents;
|
||
return response;
|
||
}
|
||
});
|
||
});
|