|
@@ -77,9 +77,9 @@ that are intended to be used (`smalltalk.Trapped._start_([blackboard]);` JavaScr
|
|
|
in HTML page in the examples).
|
|
|
1. From that point on, you should only modify or watch data of the blackboard
|
|
|
using its API. For the example, try this is Counter example:
|
|
|
-`blackboard modify: #((value)) do: [ :old | console log: old. 2 * old ]`
|
|
|
+`blackboard axes: #((value)) transform: [ :old | console log: old. 2 * old ]`
|
|
|
or this in the Todo example:
|
|
|
-`blackboard modify: #((todos) 1 done) do: [ :state | state not ]`.
|
|
|
+`blackboard axes: #((todos) 1 done) transform: [ :state | state not ]`.
|
|
|
|
|
|
4 `data-trap` attribute
|
|
|
====
|