add title
This commit is contained in:
parent
1223910d5e
commit
568c51e8eb
|
@ -61,6 +61,7 @@ var Schedule = class {
|
|||
constructor(scheduleXml){
|
||||
this.schedule = scheduleXml.children("schedule");
|
||||
|
||||
this.conf.version = this.schedule.children("version").text();
|
||||
this.conf.title = this.schedule.children("conference").children("title").text();
|
||||
this.conf.start = this.schedule.children("conference").children("start").text();
|
||||
this.conf.end = this.schedule.children("conference").children("end").text();
|
||||
|
@ -74,6 +75,12 @@ var Schedule = class {
|
|||
this.now = time;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return String the schedule version
|
||||
*/
|
||||
getScheduleVersion(){
|
||||
return this.conf.version ;
|
||||
}
|
||||
/**
|
||||
* @return String the schedule title
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue