mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
rjs -> webpack
This commit is contained in:
parent
344f3d66ef
commit
428a1439e5
399 changed files with 11591 additions and 16139 deletions
|
@ -1,17 +1,12 @@
|
|||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone'
|
||||
], function (Backbone) {
|
||||
return Backbone.Model.extend({
|
||||
url: function () {
|
||||
return this.get('contentsUrl');
|
||||
},
|
||||
var Backbone = require('backbone');
|
||||
|
||||
parse: function (contents) {
|
||||
var response = {};
|
||||
response.contents = contents;
|
||||
return response;
|
||||
}
|
||||
});
|
||||
});
|
||||
module.exports = Backbone.Model.extend({
|
||||
url : function(){
|
||||
return this.get('contentsUrl');
|
||||
},
|
||||
parse : function(contents){
|
||||
var response = {};
|
||||
response.contents = contents;
|
||||
return response;
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue