Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_renderSkeleton(context: ComponentContext) {
super._renderSkeleton(context)
if (context.options.columnHeader) {
this.header = new DayHeader(
this.el.querySelector('.fc-head-container')
)
}
this.simpleTimeGrid = new SimpleTimeGrid(this.timeGrid)
if (this.dayGrid) {
this.simpleDayGrid = new SimpleDayGrid(this.dayGrid)
}
}
function TimeGridView(_context, viewSpec, dateProfileGenerator, parentEl) {
var _this = _super.call(this, _context, viewSpec, dateProfileGenerator, parentEl) || this;
_this.buildDayTable = memoize(buildDayTable);
if (_this.opt('columnHeader')) {
_this.header = new DayHeader(_this.context, _this.el.querySelector('.fc-head-container'));
}
_this.simpleTimeGrid = new SimpleTimeGrid(_this.context, _this.timeGrid);
if (_this.dayGrid) {
_this.simpleDayGrid = new SimpleDayGrid(_this.context, _this.dayGrid);
}
return _this;
}
TimeGridView.prototype.destroy = function () {