mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Better require
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
"use strict";
|
||||
define(['app',
|
||||
'Shared/Footer/Model'], function () {
|
||||
NzbDrone.Shared.Footer.View = Backbone.Marionette.ItemView.extend({
|
||||
'Shared/Footer/Model'], function (App, FooterModel) {
|
||||
return Backbone.Marionette.ItemView.extend({
|
||||
|
||||
template: 'Shared/Footer/Template',
|
||||
|
||||
initialize: function () {
|
||||
this.model = new NzbDrone.Shared.Footer.Model();
|
||||
this.model = new FooterModel();
|
||||
this.model.set('version', NzbDrone.Constants.Version);
|
||||
this.model.set('buildDate', NzbDrone.Constants.BuildDate);
|
||||
}
|
||||
});
|
||||
|
||||
return new NzbDrone.Shared.Footer.View();
|
||||
});
|
||||
|
Reference in New Issue
Block a user