More robust GPX parsing
This commit is contained in:
1 parent
882e5545fd
commit
b2955c8bbd
1 file changed
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
export default class Link {
|
export default class Link {
|
||||||
constructor(object) {
|
constructor(object) {
|
||||||
this.$ = {};
|
this.$ = {};
|
||||||
this.$.href = object.$.href || object.href;
|
this.$.href = object.$?.href || object.href;
|
||||||
this.text = object.text;
|
this.text = object.text;
|
||||||
this.type = object.type;
|
this.type = object.type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user