Skip to content

Commit f51f3a9

Browse files
committed
Renamed createAdvanceToBlock to createJumpToStepBlock.
Renamed paramName (createStepFieldFlydown parameter) to stepName. Removed export from createParameterBlock and createJumpToStepBlock.
1 parent 42564a5 commit f51f3a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/fields/field_flydown.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ export class FieldFlydown extends Blockly.FieldTextInput {
373373
}
374374
}
375375

376-
export function createParameterBlock(paramName: string): Blockly.utils.toolbox.FlyoutDefinition {
376+
function createParameterBlock(paramName: string): Blockly.utils.toolbox.FlyoutDefinition {
377377
return {
378378
contents: [
379379
{
@@ -387,7 +387,7 @@ export function createParameterBlock(paramName: string): Blockly.utils.toolbox.F
387387
};
388388
}
389389

390-
export function createAdvanceToBlock(stepName: string): Blockly.utils.toolbox.FlyoutDefinition {
390+
function createJumpToStepBlock(stepName: string): Blockly.utils.toolbox.FlyoutDefinition {
391391
return {
392392
contents: [
393393
{
@@ -413,6 +413,6 @@ export function createParameterFieldFlydown(paramName: string, isEditable: boole
413413
return new FieldFlydown(paramName, isEditable, createParameterBlock);
414414
}
415415

416-
export function createStepFieldFlydown(paramName: string, isEditable: boolean): Blockly.Field {
417-
return new FieldFlydown(paramName, isEditable, createAdvanceToBlock);
416+
export function createStepFieldFlydown(stepName: string, isEditable: boolean): Blockly.Field {
417+
return new FieldFlydown(stepName, isEditable, createJumpToStepBlock);
418418
}

0 commit comments

Comments
 (0)