mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 07:13:47 -07:00
17 lines
405 B
JavaScript
17 lines
405 B
JavaScript
'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;
|
||
}
|
||
});
|
||
});
|