Skip to content

Commit

Permalink
Merge pull request #9 from Nyan11/patch-2
Browse files Browse the repository at this point in the history
Typo - callbacks - Update widgets.md
  • Loading branch information
Ducasse committed May 21, 2024
2 parents 192c814 + c6105ce commit 762dc15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chapters/bloc/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ We start by defining a new class called `BlIntegerInputElement` with an attribut

```
BlElement << #BlIntegerInputElement
slots: { #plus . #minus . #inputValue . #value . #inputLabel . #blockCallback };
slots: { #plus . #minus . #inputValue . #value . #inputLabel . #callbackBlock };
tag: 'Input';
package: 'ABlocPackage'
```
Expand Down Expand Up @@ -300,7 +300,7 @@ First we initialize the callback block.
```
BlIntegerInputElement >> initializeInputValue: aValue
callbackBlock: [ :newInputValue | ].
callbackBlock := [ :newInputValue | ].
inputValue := BlTextElement new.
inputValue constraintsDo: [ :c |
c frame horizontal alignCenter.
Expand Down

0 comments on commit 762dc15

Please sign in to comment.