Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
r59q committed Oct 9, 2024
1 parent db92c32 commit 800a07e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
{$t('connectMB.usb.done.body4')}
</p>
<div class="flex flex-row justify-center">
<StandardButton onClick={onConnectBluetoothClick}>
{$t('popup.connectMB.main.bluetooth.subtitle')}
</StandardButton>
<StandardButton onClick={onConnectBluetoothClick}>
{$t('popup.connectMB.main.bluetooth.subtitle')}
</StandardButton>
</div>
</div>
</div>
</main>
2 changes: 1 addition & 1 deletion src/script/microbit-interfacing/Microbits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Microbits {
}

/**
* Attempts to assign and connect via bluetooth, using the given name.
* Attempts to assign and connect via bluetooth, using the given name.
* If no name is given, it will search for any nearby microbit.
*/
public static async connectInput(name?: string) {
Expand Down
8 changes: 4 additions & 4 deletions src/script/microbit-interfacing/OutputMicrobitHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ class OutputMicrobitHandler implements MicrobitHandler {
});
}

public onAccelerometerDataReceived(x: number, y: number, z: number): void { }
public onAccelerometerDataReceived(x: number, y: number, z: number): void {}

public onButtonAPressed(state: MBSpecs.ButtonState): void { }
public onButtonAPressed(state: MBSpecs.ButtonState): void {}

public onButtonBPressed(state: MBSpecs.ButtonState): void { }
public onButtonBPressed(state: MBSpecs.ButtonState): void {}

public onMessageReceived(data: string): void {
if (data === 'id_mkcd') {
Expand All @@ -87,7 +87,7 @@ class OutputMicrobitHandler implements MicrobitHandler {
Microbits.getOutputOrigin(),
version,
);
Logger.log("OutputMicrobitHandler", "Is microbit outdated: " + isOutdated)
Logger.log('OutputMicrobitHandler', 'Is microbit outdated: ' + isOutdated);
}
}

Expand Down

0 comments on commit 800a07e

Please sign in to comment.