aprs.me/assets/js
Graham McIntire b218f21734
Some checks are pending
Elixir CI / Build and test (push) Waiting to run
Elixir CI / Dialyzer (push) Waiting to run
Elixir CI / Build and Push Docker Image (push) Blocked by required conditions
fix: resolve Leaflet window.L not being set in esbuild bundle
The esbuild bundle wraps everything in a 'use strict' IIFE, causing the
leaflet UMD module to take the CommonJS path instead of setting
window.leaflet. The entry point check window.leaflet && !window.L always
failed, so window.L was never assigned and the map never initialized.

- Add leaflet-global.js to import leaflet-minimal and set window.L before
  plugins execute (ESM source-order evaluation guarantees this)
- Replace the broken window.leaflet check in map-bundle-entry.js with an
  import of leaflet-global.js
2026-08-02 13:44:11 -05:00
..
features fix: resolve 19 bugs across Elixir, JS/TS, and config 2026-06-21 11:47:07 -05:00
hooks refactor(map): share isValidCoordinate and unwrapLongitudes helpers 2026-04-21 09:17:52 -05:00
types fix: prevent incoming packets from closing user-opened map popup 2026-04-27 09:46:45 -05:00
app.ts refactor: harden packet delivery and operations 2026-07-26 13:11:26 -05:00
chart-bundle-entry.js Implement advanced JavaScript optimization with conditional loading 2025-07-25 14:05:18 -05:00
leaflet-global.js fix: resolve Leaflet window.L not being set in esbuild bundle 2026-08-02 13:44:11 -05:00
map-bundle-entry.js fix: resolve Leaflet window.L not being set in esbuild bundle 2026-08-02 13:44:11 -05:00
map.ts refactor: harden packet delivery and operations 2026-07-26 13:11:26 -05:00
map_fixes.ts Remove debug console.log statements from JavaScript files 2025-07-18 15:37:05 -05:00
map_helpers.ts refactor(map): share isValidCoordinate and unwrapLongitudes helpers 2026-04-21 09:17:52 -05:00
topbar.js js tweak 2025-07-05 13:16:37 -05:00