Skip to content

Commit 813e406

Browse files
committed
Code styling
1 parent 5c25ae6 commit 813e406

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

js/core/tty/printer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ exports.moveTo = (xOpt, yOpt) => {
102102

103103
exports.scrollUp = scrollUp;
104104
exports.scrollDown = scrollDown;
105-
exports.clear = clear;
105+
exports.clear = clear;

js/core/tty/vga.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class VGABuffer {
120120
// for (let t = 0; t < w; ++t) {
121121
// setCharXY(this.b, t, h + 1, ' ', bg, bg);
122122
// }
123-
return debug('Not implented!');
123+
return debug('Not implemented!');
124124
}
125125
}
126126

js/service/shell/commands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ const cmds = {
148148
const frec = Number(args[1]) || 100;
149149
const duration = Number(args[2]) || 1000;
150150

151-
if (mode == 'play') {
151+
if (mode === 'play') {
152152
$$.speaker.play(frec, duration);
153153
f.stdio.writeLine(`Playing ${frec} gz at ${duration} ms...`);
154154
return res(0);
155-
} else if (mode == 'stop') {
155+
} else if (mode === 'stop') {
156156
$$.speaker.stop();
157157
f.stdio.writeLine('Stop.');
158158
return res(0);

0 commit comments

Comments
 (0)