From 8df2e866fbe315acc3e131582617be4bcb87b0e7 Mon Sep 17 00:00:00 2001 From: aaaaargZombies Date: Tue, 16 Aug 2022 18:14:33 +0100 Subject: [PATCH] delete old comments --- .../controllers/opening_times_controller.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/app/javascript/controllers/opening_times_controller.js b/app/javascript/controllers/opening_times_controller.js index 2071f41c5..9678c31a6 100644 --- a/app/javascript/controllers/opening_times_controller.js +++ b/app/javascript/controllers/opening_times_controller.js @@ -1,18 +1,8 @@ import { Controller } from "@hotwired/stimulus"; -/* - * TODO - * - * Form validation - possible to submit times as "" - Neither JS prevents this nor does the model validate it. - * - * UI Stuff - A bit of padding between the form and the list would be nice - * - * Full days - * - * https://schema.org/OpeningHoursSpecification - * - * */ +// stateless helper functions +// * https://schema.org/OpeningHoursSpecification const openingHoursSpec = (day, open, close) => ({ "@type": "OpeningHoursSpecification", dayOfWeek: `http://schema.org/${day}`,