Update custom.html
parent
f99ce683e9
commit
b76bb48973
|
|
@ -79,7 +79,6 @@
|
|||
//--------------------
|
||||
console.log = console.log || function(){};
|
||||
//--------------------
|
||||
if(calendarEvents){
|
||||
for(i=0;i>calendarEvents.length;i++){
|
||||
var calendarEntry = {}
|
||||
calendarEntry['cn'] = calendarEvents[i].title;
|
||||
|
|
@ -89,10 +88,7 @@
|
|||
calendarEntry['eh'] = calendarEvents[i].end.getHours();
|
||||
calendarEntry['em'] = calendarEvents[i].end.getMinutes();
|
||||
schedule.push(calendarEntry)
|
||||
console.log(schedule);
|
||||
}
|
||||
}else{
|
||||
alert("Add some events!");
|
||||
console.log(schedule+" lets go");
|
||||
}
|
||||
// build the app's text using a templated String
|
||||
var app = `
|
||||
|
|
|
|||
Loading…
Reference in New Issue