Sonarr/NzbDrone.Backbone/Calendar/CalendarItemView.js

17 lines
389 B
JavaScript

'use strict';
define([
'app',
'Calendar/CalendarCollection'
], function () {
NzbDrone.Calendar.CalendarItemView = Backbone.Marionette.ItemView.extend({
template: 'Calendar/CalendarItemTemplate',
tagName: 'div',
className: 'event',
onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el);
}
})
})