cache busting for js file based on server version.

This commit is contained in:
Keivan Beigi 2013-06-20 17:06:56 -07:00
parent 5c3f0203e5
commit 0916c8b8d1
12 changed files with 205 additions and 126 deletions

View file

@ -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
});
});
});