Skip to content

Commit

Permalink
Merge pull request #920 from thkruz/develop
Browse files Browse the repository at this point in the history
fix: 🚑 emergency fix
  • Loading branch information
thkruz authored Aug 16, 2024
2 parents 8c992b7 + 6374c68 commit fa4df2c
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 23 deletions.
5 changes: 1 addition & 4 deletions src/plugins/satellite-fov/satellite-fov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/satellite-view/satellite-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class SatelliteViewPlugin extends KeepTrackPlugin {
private selectSatManager_: SelectSatManager;

constructor() {
super(SatelliteViewPlugin.name);
super();
this.selectSatManager_ = keepTrackApi.getPlugin(SelectSatManager);
}

Expand Down
4 changes: 0 additions & 4 deletions src/plugins/sensor/custom-sensor-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/sensor/multi-site-look-angles-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class MultiSiteLookAnglesPlugin extends KeepTrackPlugin {
);

constructor() {
super(MultiSiteLookAnglesPlugin.name);
super();
this.selectSatManager_ = keepTrackApi.getPlugin(SelectSatManager);

// remove duplicates in sensorList
Expand Down
4 changes: 0 additions & 4 deletions src/plugins/social/social.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/stereo-map/stereo-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class StereoMap extends KeepTrackPlugin {
private selectSatManager_: SelectSatManager;

constructor() {
super(StereoMap.name);
super();
this.selectSatManager_ = keepTrackApi.getPlugin(SelectSatManager);
}

Expand Down
3 changes: 0 additions & 3 deletions src/plugins/top-menu/top-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_ = <TipMsg[]>[];
Expand Down
2 changes: 1 addition & 1 deletion src/settings/version.js
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit fa4df2c

Please sign in to comment.