File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 22< html lang ='en '>
33 < head >
44 < meta charset ='utf-8 ' />
5+ <!-- <script src="https://cdn.jsdelivr.net/npm/ical.js@2.1.0/dist/ical.min.js"></script> -->
56 < script src ='https://cdn.jsdelivr.net/npm/fullcalendar@6.1.15/index.global.min.js '> </ script >
6- < script src ='https://www.jsdelivr.com/package/npm/@fullcalendar/icalendar?version=6.1.15 '> </ script >
7- < script >
8-
7+ <!-- <script src='https://cdn.jsdelivr.net/npm/@fullcalendar/icalendar@6.1.15/index.global.min.js'></script> -->
8+ < script type ="module ">
9+ import icalJs from 'https://cdn.jsdelivr.net/npm/ical.js@2.1.0/+esm'
10+ import fullcalendaricalendar from 'https://cdn.jsdelivr.net/npm/@fullcalendar/icalendar@6.1.15/+esm'
11+
912 document . addEventListener ( 'DOMContentLoaded' , function ( ) {
1013 var calendarEl = document . getElementById ( 'calendar' ) ;
1114 var calendar = new FullCalendar . Calendar ( calendarEl , {
1215 initialView : 'dayGridMonth' ,
13- plugins : [ iCalendarPlugin ] ,
16+ plugins : [ fullcalendaricalendar ] ,
1417 events : {
15- url : 'https://clojureto.github.io/linkup/test .ics' ,
18+ url : 'https://clojureto.github.io/linkup/clojureto .ics' ,
1619 format : 'ics'
1720 }
1821 } ) ;
You can’t perform that action at this time.
0 commit comments