aprs.me/assets/js/types
Graham McIntire 62ada761cd
refactor: improve code quality and fix potential issues
- Remove duplicate time formatting function in components.ex
  - Use existing time_ago_in_words from TimeHelpers instead of custom format_time_ago
- Remove unnecessary Float multiplication in format_coordinates
  - Changed Float.round(lat * 1.0, 4) to Float.round(lat, 4)
- Fix TypeScript type safety issues
  - Add pendingMarkers to LiveViewHookContext interface
  - Add initializationTimeout property for proper cleanup
- Add cleanup for map initialization retry timeout
  - Prevent memory leak by clearing timeout in destroyed() method
- Format code with mix format

All changes maintain backward compatibility while improving code quality.
2025-10-12 14:02:27 -05:00
..
chart-types.d.ts Replace any types with specific TypeScript types 2025-07-17 17:55:27 -05:00
events.d.ts Replace any types with specific TypeScript types 2025-07-17 17:55:27 -05:00
leaflet-events.d.ts Implement mobile web optimization and fix sidebar clipping 2025-07-21 14:31:49 -05:00
leaflet-plugins.d.ts Replace any types with specific TypeScript types 2025-07-17 17:55:27 -05:00
leaflet.d.ts Implement mobile web optimization and fix sidebar clipping 2025-07-21 14:31:49 -05:00
map.d.ts refactor: improve code quality and fix potential issues 2025-10-12 14:02:27 -05:00
marker-extensions.d.ts vendor all js 2025-07-21 11:09:14 -05:00