From e403fb213a04306a706819b1a0a26cc2d8d66f41 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 29 Mar 2025 16:54:50 +0100 Subject: refactor: remove leftover import and TODO comments --- build.py | 4 ---- script.js | 2 -- 2 files changed, 6 deletions(-) diff --git a/build.py b/build.py index aae8385..d0f7fba 100755 --- a/build.py +++ b/build.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -import glob import html import json import os @@ -137,7 +136,6 @@ with open('target/index.html', 'w') as f: with open('head.html') as h: f.write(h.read()) - # TODO: sort by T-lang and T-lib f.write('

Unstable features

') write_features(f, 'unstable', unstable_features) @@ -168,5 +166,3 @@ with open('target/index.html', 'w') as f: if 'features' in data: write_features(f, version, data['features']) - -# TODO: generate HTML diff --git a/script.js b/script.js index 2a0c473..4bac43c 100644 --- a/script.js +++ b/script.js @@ -34,8 +34,6 @@ document.getElementById(key + '-lib').hidden = libResults.length == 0; } - // TODO: hide library heading if no lib results - heading.hidden = totalResultCount == 0; } }); -- cgit v1.2.3