mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-18 09:39:30 -07:00
remove window. references
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// hourly forecast list
|
||||
/* globals WeatherDisplay, navigation */
|
||||
/* globals navigation */
|
||||
|
||||
import STATUS from './status.mjs';
|
||||
import { DateTime, Interval, Duration } from '../vendor/auto/luxon.mjs';
|
||||
@@ -8,6 +8,7 @@ import { UNITS } from './config.mjs';
|
||||
import * as units from './utils/units.mjs';
|
||||
import { getHourlyIcon } from './icons.mjs';
|
||||
import { directionToNSEW } from './utils/calc.mjs';
|
||||
import WeatherDisplay from './weatherdisplay.mjs';
|
||||
|
||||
class Hourly extends WeatherDisplay {
|
||||
constructor(navId, elemId, defaultActive) {
|
||||
@@ -198,5 +199,3 @@ class Hourly extends WeatherDisplay {
|
||||
}
|
||||
|
||||
export default Hourly;
|
||||
|
||||
window.Hourly = Hourly;
|
||||
|
||||
Reference in New Issue
Block a user