Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('can implicitly target an old-school View subclass', function() {
function SuperDayGridView() { DayGridView.apply(this, arguments) }
SuperDayGridView.prototype = Object.create(DayGridView.prototype)
initCalendar({
plugins: [
DayGridPlugin,
createPlugin({
views: {
superBasic: SuperDayGridView
}
})
],
views: {
dayGrid: {
titleFormat: function() { return 'special!!!' }
}
}
})