From f4d008704009e57e433305037618534410541d70 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 22 Apr 2023 21:48:55 +0100 Subject: [PATCH] Add notes --- js/pis.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/pis.js b/js/pis.js index 259aabb..a6c8a06 100644 --- a/js/pis.js +++ b/js/pis.js @@ -23,6 +23,9 @@ async function fetchOrigDest() { } async function displayData(json) { + // Receives the JSON Respose ([{},{}]) containing one or more possible + // PIS codes. Display the code and the stops with a method of scrolling between them. + // Maybe as a table or a carousel? log(`displayData: ${JSON.stringify(json)}`) }