Radarr/UI/Shared/Footer/View.js

15 lines
427 B
JavaScript
Raw Normal View History

2013-06-15 04:02:40 +00:00
"use strict";
define(['app',
2013-06-18 00:49:48 +00:00
'Shared/Footer/Model'], function (App, FooterModel) {
return Backbone.Marionette.ItemView.extend({
2013-06-15 04:02:40 +00:00
template: 'Shared/Footer/Template',
initialize: function () {
2013-06-18 00:49:48 +00:00
this.model = new FooterModel();
2013-06-15 21:42:30 +00:00
this.model.set('version', NzbDrone.Constants.Version);
2013-06-15 22:18:41 +00:00
this.model.set('buildDate', NzbDrone.Constants.BuildDate);
2013-06-15 04:02:40 +00:00
}
});
});