Adding resources

This commit is contained in:
sean kenny
2014-08-19 13:16:56 +01:00
parent 3f75a1db13
commit 2ddafc19cf
+43 -39
View File
@@ -1,39 +1,43 @@
[ [{
{ title: 'R1-R2: Lunch 12.15-14.45',
"title": "All Day Event", start: new Date(y, m, d, 12, 15),
"start": "2014-06-01" end: new Date(y, m, d, 14, 45),
}, allDay: false,
{ resources: ['resource1', 'resource2']
"title": "Long Event", }, {
"start": "2014-06-07", title: 'R1: All day',
"end": "2014-06-10" start: new Date(y, m, d, 10, 30),
}, end: new Date(y, m, d, 11, 0),
{ allDay: true,
"id": "999", resources: 'resource1'
"title": "Repeating Event", }, {
"start": "2014-06-09T16:00:00-05:00" title: 'R2: Meeting 11.00',
}, start: new Date(y, m, d, 11, 0),
{ allDay: true,
"id": "999", resources: 'resource2'
"title": "Repeating Event", }, {
"start": "2014-06-16T16:00:00-05:00" title: 'R1/R2: Lunch 12-14',
}, start: new Date(y, m, d, 12, 0),
{ end: new Date(y, m, d, 14, 0),
"title": "Meeting", allDay: false,
"start": "2014-06-12T10:30:00-05:00", resources: ['resource1', 'resource2']
"end": "2014-06-12T12:30:00-05:00" }, {
}, id: 777,
{ title: 'Lunch',
"title": "Lunch", start: new Date(y, m, d, 12, 0),
"start": "2014-06-12T12:00:00-05:00" end: new Date(y, m, d, 14, 0),
}, allDay: false,
{ resources: ['resource1']
"title": "Birthday Party", }, {
"start": "2014-06-13T07:00:00-05:00" id: 999,
}, title: 'Repeating Event',
{ start: new Date(y, m, d - 3, 16, 0),
"title": "Click for Google", allDay: false,
"url": "http://google.com/", resources: 'resource2'
"start": "2014-06-28" }, {
} id: 999,
] title: 'Repeating Event',
start: new Date(y, m, d + 4, 16, 0),
allDay: false,
resources: 'resource2'
}]