Skip to content
This repository was archived by the owner on Aug 2, 2019. It is now read-only.

Commit eaad37d

Browse files
committed
4 updates
1 parent b18a277 commit eaad37d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
body {
1515
margin: 40px 10px;
1616
padding: 0;
17-
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
17+
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
1818
font-size: 14px;
1919
}
2020

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
},
99
"main": "dist/example.js",
1010
"dependencies": {
11-
"@fullcalendar/core": "4.0.0-beta.4",
12-
"@fullcalendar/daygrid": "4.0.0-beta.4",
13-
"@fullcalendar/list": "4.0.0-beta.4",
14-
"@fullcalendar/timegrid": "4.0.0-beta.4",
15-
"@fullcalendar/resource-timeline": "4.0.0-beta.4"
11+
"@fullcalendar/core": "^4.0.0",
12+
"@fullcalendar/interaction": "^4.0.0",
13+
"@fullcalendar/daygrid": "^4.0.0",
14+
"@fullcalendar/list": "^4.0.0",
15+
"@fullcalendar/timegrid": "^4.0.0",
16+
"@fullcalendar/resource-timeline": "^4.0.0"
1617
},
1718
"devDependencies": {
1819
"ts-loader": "^5.3.3",

src/example.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Calendar } from '@fullcalendar/core';
2+
import interactionPlugin from '@fullcalendar/interaction';
23
import dayGridPlugin from '@fullcalendar/daygrid';
34
import listPlugin from '@fullcalendar/list';
45
import timeGridPlugin from '@fullcalendar/timegrid';
@@ -8,7 +9,7 @@ document.addEventListener('DOMContentLoaded', function() {
89
let calendarEl: HTMLElement = document.getElementById('calendar')!;
910

1011
let calendar = new Calendar(calendarEl, {
11-
plugins: [ dayGridPlugin, listPlugin, timeGridPlugin, resourceTimelinePlugin ],
12+
plugins: [ interactionPlugin, dayGridPlugin, listPlugin, timeGridPlugin, resourceTimelinePlugin ],
1213
now: '2018-02-07',
1314
editable: true, // enable draggable events
1415
aspectRatio: 1.8,

0 commit comments

Comments
 (0)