Skip to content

Commit 3dac0f2

Browse files
committed
style: fix prettier formatting in changed files
1 parent 5ba33fd commit 3dac0f2

File tree

3 files changed

+10
-47
lines changed

3 files changed

+10
-47
lines changed

js/blocks/FlowBlocks.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,9 +1178,8 @@ function setupFlowBlocks(activity) {
11781178
) {
11791179
logo.statusFields.push([blk, "duplicate"]);
11801180
} else {
1181-
activity.blocks.blockList[blk].value = activity.turtles.ithTurtle(
1182-
turtle
1183-
).singer.duplicateFactor;
1181+
activity.blocks.blockList[blk].value =
1182+
activity.turtles.ithTurtle(turtle).singer.duplicateFactor;
11841183
}
11851184
}
11861185
}

js/blocks/GraphicsBlocks.js

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -569,30 +569,8 @@ function setupGraphicsBlocks(activity) {
569569

570570
// Set piemenu values for C1 and C2
571571
this.piemenuValuesC1 = [
572-
15,
573-
30,
574-
45,
575-
60,
576-
75,
577-
90,
578-
105,
579-
120,
580-
135,
581-
150,
582-
165,
583-
180,
584-
195,
585-
210,
586-
225,
587-
240,
588-
255,
589-
270,
590-
285,
591-
300,
592-
315,
593-
330,
594-
345,
595-
360
572+
15, 30, 45, 60, 75, 90, 105, 120, 135, 150, 165, 180, 195, 210, 225, 240, 255, 270,
573+
285, 300, 315, 330, 345, 360
596574
];
597575
this.piemenuValuesC2 = [25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300];
598576

@@ -680,22 +658,7 @@ function setupGraphicsBlocks(activity) {
680658

681659
// Set piemenu values for C1
682660
this.piemenuValuesC1 = [
683-
0,
684-
30,
685-
45,
686-
60,
687-
90,
688-
120,
689-
135,
690-
150,
691-
180,
692-
210,
693-
225,
694-
240,
695-
270,
696-
300,
697-
315,
698-
330
661+
0, 30, 45, 60, 90, 120, 135, 150, 180, 210, 225, 240, 270, 300, 315, 330
699662
];
700663

701664
// Set the help string for the Set Heading block

js/widgets/status.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,18 @@ class StatusMatrix {
145145
if (localStorage.languagePreference === "ja") {
146146
label = _("beats per minute2");
147147
} else {
148-
label = this.activity.blocks.blockList[statusField[0]].protoblock
149-
.staticLabels[0];
148+
label =
149+
this.activity.blocks.blockList[statusField[0]].protoblock
150+
.staticLabels[0];
150151
}
151152
// console.debug(label);
152153
break;
153154
case "outputtools":
154155
label = this.activity.blocks.blockList[statusField[0]].privateData;
155156
break;
156157
default:
157-
label = this.activity.blocks.blockList[statusField[0]].protoblock
158-
.staticLabels[0];
158+
label =
159+
this.activity.blocks.blockList[statusField[0]].protoblock.staticLabels[0];
159160
break;
160161
}
161162
let str = label;

0 commit comments

Comments
 (0)