Skip to content

Commit

Permalink
delete old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaaargZombies committed Aug 16, 2022
1 parent 77f737d commit 1e5872e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions app/javascript/controllers/opening_times_controller.js
Original file line number Diff line number Diff line change
@@ -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}`,
Expand Down

0 comments on commit 1e5872e

Please sign in to comment.