sonarr-repo-only/UI/Shared/Footer/View.js

16 lines
421 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();
this.model.version = NzbDrone.Constants.Version;
}
});
return new NzbDrone.Shared.Footer.View();
});