Skip to content

Commit 2c19451

Browse files
committed
change to 2 space indentation
1 parent a8775b9 commit 2c19451

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/blocks/mrc_step_container.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const setup = function () {
3535
const INPUT_STACK = 'STACK';
3636

3737
export type StepContainerBlock = StepContainerMixin & Blockly.BlockSvg;
38-
interface StepContainerMixin extends StepContainerMixinType {}
38+
interface StepContainerMixin extends StepContainerMixinType { }
3939
type StepContainerMixinType = typeof STEP_CONTAINER;
4040

4141
const STEP_CONTAINER = {
@@ -50,7 +50,7 @@ const STEP_CONTAINER = {
5050
let block = this.getInputTargetBlock(INPUT_STACK);
5151
while (block && !block.isInsertionMarker()) {
5252
if (block.type !== STEP_ITEM_BLOCK_NAME) {
53-
throw new Error('getItemNames: block.type should be ' + STEP_ITEM_BLOCK_NAME);
53+
throw new Error('getItemNames: block.type should be ' + STEP_ITEM_BLOCK_NAME);
5454
}
5555
stepItemBlocks.push(block as StepItemBlock);
5656
block = block.nextConnection && block.nextConnection.targetBlock();
@@ -73,7 +73,7 @@ type StepItemMixinType = typeof STEP_ITEM;
7373
const STEP_ITEM = {
7474
init: function (this: StepItemBlock) {
7575
this.appendDummyInput()
76-
.appendField(new Blockly.FieldTextInput(''), FIELD_NAME);
76+
.appendField(new Blockly.FieldTextInput(''), FIELD_NAME);
7777
this.setPreviousStatement(true);
7878
this.setNextStatement(true);
7979
this.setStyle(MRC_STYLE_CLASS_BLOCKS);
@@ -129,15 +129,15 @@ function updateMutatorFlyout(workspace: Blockly.WorkspaceSvg) {
129129
workspace.getBlocksByType(STEP_ITEM_BLOCK_NAME, false).forEach(block => {
130130
usedNames.push(block.getFieldValue(FIELD_NAME));
131131
});
132-
132+
133133
// Find the first unused number starting from 0
134134
let counter = 0;
135135
let uniqueName = counter.toString();
136136
while (usedNames.includes(uniqueName)) {
137137
counter++;
138138
uniqueName = counter.toString();
139139
}
140-
140+
141141
const jsonBlock = {
142142
kind: 'block',
143143
type: STEP_ITEM_BLOCK_NAME,

0 commit comments

Comments
 (0)