Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Krause committed Sep 14, 2017
1 parent f811f5c commit 67cef7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@

<script type="text/javascript">
// Demo
var cal = ics();
cal = ics();
cal.addEvent('Christmas', 'Christian holiday celebrating the birth of Jesus Christ', 'Bethlehem', '12/25/2013', '12/25/2013');
cal.addEvent('Christmas', 'Christian holiday celebrating the birth of Jesus Christ', 'Bethlehem', '12/25/2014', '12/25/2014');
cal.addEvent('New Years', 'Watch the ball drop!', 'New York', '01/01/2015', '01/01/2015');
cal.addEvent('New Years', 'Watch the ball drop!', 'New York', '01/01/2016', '01/01/2016');

var cal_single = ics();
cal_single = ics();
cal_single.addEvent('Best Day', 'This is the best day to demonstrate a single event.', 'New York', '11/12/1987', '11/12/1987');


// You can use this for easy debugging
var makelogs = function(obj) {
makelogs = function(obj) {
console.log('Events Array');
console.log('=================');
console.log(obj.events());
Expand Down

0 comments on commit 67cef7f

Please sign in to comment.