Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🚑 emergency fix #920

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';

Loading