mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-21 02:59:31 -07:00
remove window. references
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
// travel forecast display
|
||||
/* globals WeatherDisplay, navigation, TravelCities */
|
||||
/* globals navigation, TravelCities */
|
||||
import STATUS from './status.mjs';
|
||||
import { UNITS } from './config.mjs';
|
||||
import { json } from './utils/fetch.mjs';
|
||||
import { getWeatherRegionalIconFromIconLink } from './icons.mjs';
|
||||
import { fahrenheitToCelsius } from './utils/units.mjs';
|
||||
import { DateTime } from '../vendor/auto/luxon.mjs';
|
||||
import WeatherDisplay from './weatherdisplay.mjs';
|
||||
|
||||
class TravelForecast extends WeatherDisplay {
|
||||
constructor(navId, elemId, defaultActive) {
|
||||
@@ -165,4 +166,4 @@ class TravelForecast extends WeatherDisplay {
|
||||
}
|
||||
}
|
||||
|
||||
window.TravelForecast = TravelForecast;
|
||||
export default TravelForecast;
|
||||
|
||||
Reference in New Issue
Block a user