Lidarr/UI/Shared/Footer/View.js

17 lines
498 B
JavaScript
Raw Normal View History

2013-06-15 04:02:40 +00:00
"use strict";
define(['app',
'Shared/Footer/Model'], function () {
NzbDrone.Shared.Footer.View = Backbone.Marionette.ItemView.extend({
template: 'Shared/Footer/Template',
initialize: function () {
this.model = new NzbDrone.Shared.Footer.Model();
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
}
});
return new NzbDrone.Shared.Footer.View();
});