Sonarr/NzbDrone.Backbone/Calendar/CalendarItemView.js

17 lines
389 B
JavaScript
Raw Normal View History

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