Convert range_slider.js to TypeScript (issue #17)
- Add ts/range_slider.ts: typed port of the custom range-slider widget. Number inputs typed as HTMLInputElement; setTargetValue coerces via String(); mouse handlers typed MouseEvent; var → const/let - Point the RangeSlider component Media and every e2e/test reference at the compiled dist/range_slider.js Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ def _bar_page(filter_json: str = "") -> str:
|
||||
<head>
|
||||
<title>Range Slider E2E</title>
|
||||
<script src="/static/js/htmx.min.js"></script>
|
||||
<script src="/static/js/range_slider.js" type="module"></script>
|
||||
<script src="/static/js/dist/range_slider.js" type="module"></script>
|
||||
<script src="/static/js/dist/search_select.js" type="module"></script>
|
||||
<script src="/static/js/dist/filter_bar.js" type="module"></script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user