website: snapshot

This commit is contained in:
nym21
2026-01-25 20:27:28 +01:00
parent 35bf1afcff
commit fbe99e33cd
6 changed files with 45 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ import { line } from "./series.js";
* @param {number} num
* @returns {AnyMetricPattern}
*/
function getConstant(constants, num) {
export function getConstant(constants, num) {
const key =
num >= 0
? `constant${String(num).replace(".", "")}`