Update custom.html

master
Ronin0000 2021-11-20 19:50:08 -08:00 committed by GitHub
parent f99ce683e9
commit b76bb48973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 14 deletions

View File

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