lidarr/src/UI/System/Logs/Files/ContentsModel.js
Mark McDowall f5d46ffcd2 Log file changes
New: Update log files are available in the UI
Fixed: UI error after clearing log files
2014-06-24 16:52:07 -07:00

17 lines
405 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';
define(
[
'backbone'
], function (Backbone) {
return Backbone.Model.extend({
url: function () {
return this.get('contentsUrl');
},
parse: function (contents) {
var response = {};
response.contents = contents;
return response;
}
});
});