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