More robust GPX parsing
This commit is contained in:
parent
882e5545fd
commit
b2955c8bbd
|
@ -1,7 +1,7 @@
|
|||
export default class Link {
|
||||
constructor(object) {
|
||||
this.$ = {};
|
||||
this.$.href = object.$.href || object.href;
|
||||
this.$.href = object.$?.href || object.href;
|
||||
this.text = object.text;
|
||||
this.type = object.type;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue