From 3e71883391a672916f2a1a759da81c1add104cc7 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 18 Jun 2026 20:50:57 -0400 Subject: Add teleia example dist --- .../snippets/teleia-727bf4351691f1c8/src/helpers.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 2026/examples/example_teleia/dist/snippets/teleia-727bf4351691f1c8/src/helpers.js (limited to '2026/examples/example_teleia/dist/snippets') diff --git a/2026/examples/example_teleia/dist/snippets/teleia-727bf4351691f1c8/src/helpers.js b/2026/examples/example_teleia/dist/snippets/teleia-727bf4351691f1c8/src/helpers.js new file mode 100644 index 0000000..fb2a1a0 --- /dev/null +++ b/2026/examples/example_teleia/dist/snippets/teleia-727bf4351691f1c8/src/helpers.js @@ -0,0 +1,21 @@ +let resized = false; + +export async function js_track_resized_setup() { + window.addEventListener("resize", () => { + resized = true; + }); +} + +export function js_poll_resized() { + let ret = resized; + resized = false; + return ret; +} + +export function js_bundt_api_server() { + return globalThis.apiServer || "http://localhost:8000/api"; +} + +export function js_bundt_secure_api_server() { + return globalThis.secureApiServer || "http://localhost:8000/api"; +} -- cgit v1.2.3