Update custom.html
parent
71ff5959ae
commit
d491103414
|
|
@ -80,7 +80,7 @@
|
||||||
console.log = console.log || function(){};
|
console.log = console.log || function(){};
|
||||||
console.log(calendar.getEvents()[0].title());
|
console.log(calendar.getEvents()[0].title());
|
||||||
//--------------------
|
//--------------------
|
||||||
if(calendarEvents)
|
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();
|
||||||
|
|
@ -91,9 +91,9 @@
|
||||||
calendarEntry['em'] = calendarEvents[i].end.getMinutes();
|
calendarEntry['em'] = calendarEvents[i].end.getMinutes();
|
||||||
schedule.push(calendarEntry)
|
schedule.push(calendarEntry)
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
alert("Add some events!");
|
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 = `
|
||||||
require("Font8x12").add(Graphics);
|
require("Font8x12").add(Graphics);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue