How massblabla/calendrier-republicain works
This is a browser-based French Republican calendar that renders a selected year alongside Gregorian date information and supports printing. The visible workflow initializes selectors, derives their default from today, converts calendar dates, and builds the title, month, and complementary-day pages in the DOM. The excerpt shows these responsibilities co-located in script.js; HTML and styling are present in the tree but their contents were not provided, and the README is empty. Edges reflect only calls and event wiring shown in the script excerpt.
Main entry points: script.js Calendar rendering · index.html Calendar DOM · style.css Calendar styling
Components 10
Calendar runtime
- Year controls
script.js - Date conversion
script.js - Calendar rendering
script.js - Year title
script.js - Month pages
script.js - Complementary days
script.js
Browser presentation
- Calendar DOM
index.html - Calendar styling
style.css - Print action
script.js
Other components
- Calendar visitor
Connections 11
- Calendar visitor → Year controls: selects year
script.js - Year controls → Date conversion: converts dates
script.js - Year controls → Calendar rendering: requests render
script.js - Calendar rendering → Year title: builds title
script.js - Calendar rendering → Month pages: builds months
script.js - Calendar rendering → Complementary days: builds extra days
script.js - Year controls → Calendar DOM: reads selectors
script.js - Calendar rendering → Calendar DOM: creates pages
script.js - Calendar visitor → Print action: clicks print
script.js - Print action → Calendar visitor: opens print dialog
script.js - Calendar styling → Calendar DOM: styles