mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-24 22:55:21 -04:00
rjs -> webpack
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone'
|
||||
], function (Backbone) {
|
||||
return Backbone.Model.extend({
|
||||
|
||||
defaults: {
|
||||
seasonNumber: 0
|
||||
},
|
||||
|
||||
initialize: function () {
|
||||
this.set('id', this.get('seasonNumber'));
|
||||
}
|
||||
});
|
||||
});
|
||||
var Backbone = require('backbone');
|
||||
|
||||
module.exports = Backbone.Model.extend({
|
||||
defaults : {seasonNumber : 0},
|
||||
initialize : function(){
|
||||
this.set('id', this.get('seasonNumber'));
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user