From ba3a6d532ba5a5800ac3c7a5aa199625df1630a6 Mon Sep 17 00:00:00 2001 From: Jorge Bolois Guerrero Date: Sat, 15 Oct 2022 21:55:24 +0200 Subject: [PATCH] Adding more locations. --- locations/CastiellodeJaca.json | 10 ++++++++++ locations/Villanúa.json | 19 +++++++++++++++++++ src/Item.js | 1 - 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 locations/CastiellodeJaca.json create mode 100644 locations/Villanúa.json diff --git a/locations/CastiellodeJaca.json b/locations/CastiellodeJaca.json new file mode 100644 index 0000000..67d8787 --- /dev/null +++ b/locations/CastiellodeJaca.json @@ -0,0 +1,10 @@ +{ + "name": "Castiello de Jaca", + "bus": true, + "train": false, + "pharmacy": false, + "smoke": false, + "supermarkets": [], + "pool": true, + "gym": false +} \ No newline at end of file diff --git a/locations/Villanúa.json b/locations/Villanúa.json new file mode 100644 index 0000000..16f338a --- /dev/null +++ b/locations/Villanúa.json @@ -0,0 +1,19 @@ +{ + "name": "Villanúa", + "bus": true, + "train": true, + "pharmacy": true, + "smoke": true, + "supermarkets": [ + { + "type": "ALTO_ARAGON", + "url": "https://goo.gl/maps/DKqzDFWMM7ce7n417" + }, + { + "type": "CUSTOM", + "url": "https://goo.gl/maps/JR2yKpzoWnzWbdT17" + } + ], + "pool": true, + "gym": true +} \ No newline at end of file diff --git a/src/Item.js b/src/Item.js index 5c3fb70..d50bff1 100644 --- a/src/Item.js +++ b/src/Item.js @@ -21,7 +21,6 @@ export default class Item { this.meters = this._extractMeters(); this.priceMeter = this._extractPriceMeter(); - this.additionalInfo = this._extractAdditionalInfo(); this.hasGarage = this._extractGarage(); this.hasLift = this._extractLift();