From: Jérôme Benoit Date: Tue, 20 Oct 2020 21:38:31 +0000 (+0200) Subject: Add a FIXME comment. X-Git-Tag: v1.0.1-0~257 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=13b4eba03d3d9e7e868dfeb41951735c58eedf32;p=e-mobility-charging-stations-simulator.git Add a FIXME comment. Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.js b/src/charging-station/ChargingStation.js index 47186765..c6b3a5ae 100644 --- a/src/charging-station/ChargingStation.js +++ b/src/charging-station/ChargingStation.js @@ -92,6 +92,7 @@ class ChargingStation { this._initTransactionOnConnector(connector); } } + // FIXME: Conditionally initialize or use singleton design pattern per charging station this._statistics = new Statistics(this._stationInfo.name); this._performanceObserver = new PerformanceObserver((list) => { const entry = list.getEntries()[0];