From 6374c68466aaf720171109eadcd2489e46eb81e6 Mon Sep 17 00:00:00 2001 From: Theodore Kruczek Date: Fri, 16 Aug 2024 14:35:42 -0400 Subject: [PATCH] fix: :ambulance: emergency fix --- src/plugins/satellite-fov/satellite-fov.ts | 5 +---- src/plugins/satellite-view/satellite-view.ts | 2 +- src/plugins/sensor/custom-sensor-plugin.ts | 4 ---- src/plugins/sensor/multi-site-look-angles-plugin.ts | 2 +- src/plugins/social/social.ts | 4 ---- src/plugins/stereo-map/stereo-map.ts | 2 +- src/plugins/top-menu/top-menu.ts | 3 --- .../tracking-impact-predict/tracking-impact-predict.ts | 5 +---- src/settings/version.js | 2 +- 9 files changed, 6 insertions(+), 23 deletions(-) diff --git a/src/plugins/satellite-fov/satellite-fov.ts b/src/plugins/satellite-fov/satellite-fov.ts index df4f81046..5d9cbd31b 100644 --- a/src/plugins/satellite-fov/satellite-fov.ts +++ b/src/plugins/satellite-fov/satellite-fov.ts @@ -31,10 +31,7 @@ import { SelectSatManager } from '../select-sat-manager/select-sat-manager'; import { SoundNames } from '../sounds/SoundNames'; export class SatelliteFov extends KeepTrackPlugin { - constructor() { - super(SatelliteFov.name); - } - + protected dependencies_ = [SelectSatManager.name]; bottomIconElementName = 'menu-sat-fov'; bottomIconLabel = 'Satellite FOV'; bottomIconImg = sensorOccupiedPng; diff --git a/src/plugins/satellite-view/satellite-view.ts b/src/plugins/satellite-view/satellite-view.ts index 1176f474d..62d51213d 100644 --- a/src/plugins/satellite-view/satellite-view.ts +++ b/src/plugins/satellite-view/satellite-view.ts @@ -34,7 +34,7 @@ export class SatelliteViewPlugin extends KeepTrackPlugin { private selectSatManager_: SelectSatManager; constructor() { - super(SatelliteViewPlugin.name); + super(); this.selectSatManager_ = keepTrackApi.getPlugin(SelectSatManager); } diff --git a/src/plugins/sensor/custom-sensor-plugin.ts b/src/plugins/sensor/custom-sensor-plugin.ts index 58ed5544e..a7ef812e4 100644 --- a/src/plugins/sensor/custom-sensor-plugin.ts +++ b/src/plugins/sensor/custom-sensor-plugin.ts @@ -227,10 +227,6 @@ export class CustomSensorPlugin extends KeepTrackPlugin { isDraggable: true, }; - constructor() { - super(CustomSensorPlugin.name); - } - helpTitle = 'Custom Sensor Menu'; helpBody = keepTrackApi.html` This allows you to create a custom sensor for use in calculations and other menu's functions. diff --git a/src/plugins/sensor/multi-site-look-angles-plugin.ts b/src/plugins/sensor/multi-site-look-angles-plugin.ts index 736515c3e..4ba153e2a 100644 --- a/src/plugins/sensor/multi-site-look-angles-plugin.ts +++ b/src/plugins/sensor/multi-site-look-angles-plugin.ts @@ -37,7 +37,7 @@ export class MultiSiteLookAnglesPlugin extends KeepTrackPlugin { ); constructor() { - super(MultiSiteLookAnglesPlugin.name); + super(); this.selectSatManager_ = keepTrackApi.getPlugin(SelectSatManager); // remove duplicates in sensorList diff --git a/src/plugins/social/social.ts b/src/plugins/social/social.ts index 1db132575..c9cb7b43e 100644 --- a/src/plugins/social/social.ts +++ b/src/plugins/social/social.ts @@ -7,10 +7,6 @@ import { TopMenu } from '../top-menu/top-menu'; export class SocialMedia extends KeepTrackPlugin { dependencies_ = [TopMenu.name]; - constructor() { - super(SocialMedia.name); - } - addHtml() { super.addHtml(); keepTrackApi.register({ diff --git a/src/plugins/stereo-map/stereo-map.ts b/src/plugins/stereo-map/stereo-map.ts index fffcda786..fa2c30cd3 100644 --- a/src/plugins/stereo-map/stereo-map.ts +++ b/src/plugins/stereo-map/stereo-map.ts @@ -53,7 +53,7 @@ export class StereoMap extends KeepTrackPlugin { private selectSatManager_: SelectSatManager; constructor() { - super(StereoMap.name); + super(); this.selectSatManager_ = keepTrackApi.getPlugin(SelectSatManager); } diff --git a/src/plugins/top-menu/top-menu.ts b/src/plugins/top-menu/top-menu.ts index d129dc126..04af3ccfb 100644 --- a/src/plugins/top-menu/top-menu.ts +++ b/src/plugins/top-menu/top-menu.ts @@ -14,9 +14,6 @@ import { KeepTrackPlugin } from '../KeepTrackPlugin'; export class TopMenu extends KeepTrackPlugin { protected dependencies_: string[]; static readonly SEARCH_RESULT_ID = 'search-results'; - constructor() { - super(TopMenu.name); - } addHtml = (): void => { super.addHtml(); diff --git a/src/plugins/tracking-impact-predict/tracking-impact-predict.ts b/src/plugins/tracking-impact-predict/tracking-impact-predict.ts index 340a4683c..042c862eb 100644 --- a/src/plugins/tracking-impact-predict/tracking-impact-predict.ts +++ b/src/plugins/tracking-impact-predict/tracking-impact-predict.ts @@ -27,10 +27,7 @@ export interface TipMsg { } export class TrackingImpactPredict extends KeepTrackPlugin { - constructor() { - super(TrackingImpactPredict.name); - } - + protected dependencies_: string[]; private readonly tipDataSrc = './data/tip.json'; private selectSatIdOnCruncher_: number | null = null; private tipList_ = []; diff --git a/src/settings/version.js b/src/settings/version.js index 9d439255a..f78fc6ee2 100644 --- a/src/settings/version.js +++ b/src/settings/version.js @@ -1,4 +1,4 @@ // THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -export const VERSION = '10.0.0'; +export const VERSION = '10.0.1';