mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-17 11:19:14 +08:00
update tests for hiddenDays
This commit is contained in:
+61
-2
@@ -21,11 +21,34 @@
|
||||
center: 'title',
|
||||
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay'
|
||||
},
|
||||
editable: true,
|
||||
isRTL: false,
|
||||
|
||||
year: 2010,
|
||||
month: 10,
|
||||
date: 14,
|
||||
|
||||
editable: true,
|
||||
|
||||
//isRTL: true,
|
||||
//hiddenDays: [ 3 ],
|
||||
|
||||
/*
|
||||
// check to make sure there is no empty space where event should be
|
||||
eventRender: function(event) {
|
||||
if (event.title == 'event4') {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
/*
|
||||
// KNOWN BUG: there shoulnd't be an empty space
|
||||
eventRender: function(event) {
|
||||
if (event.title == 'timed event 1') {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
events: [
|
||||
{
|
||||
title: 'event1',
|
||||
@@ -48,6 +71,42 @@
|
||||
{
|
||||
title: 'event5',
|
||||
start: '2010-11-18'
|
||||
},
|
||||
{
|
||||
title: 'event6 with a long title dude',
|
||||
start: '2010-11-25'
|
||||
},
|
||||
{
|
||||
title: 'event7',
|
||||
start: '2010-11-26'
|
||||
},
|
||||
{
|
||||
title: 'timed event 1',
|
||||
start: '2010-11-16T08:30:00',
|
||||
end: '2010-11-16T16:00:00',
|
||||
allDay: false
|
||||
},
|
||||
{
|
||||
title: 'timed event 2',
|
||||
start: '2010-11-16T09:30:00',
|
||||
end: '2010-11-16T11:30:00',
|
||||
allDay: false
|
||||
},
|
||||
{
|
||||
title: 'Long Event', // this allday event should be above...
|
||||
start: '2010-11-22',
|
||||
end: '2010-11-22'
|
||||
},
|
||||
{
|
||||
title: 'Birthday Party', // ...this timed event
|
||||
start: '2010-11-22T19:00:00',
|
||||
end: '2010-11-22T22:30:00',
|
||||
allDay: false
|
||||
},
|
||||
{
|
||||
title: 'An event', // this should be below the allday event
|
||||
start: '2010-11-22T00:00:00',
|
||||
allDay: false
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user