Parcourir la source

Axxord usage in README.

Herbert Vojčík il y a 8 ans
Parent
commit
effe5d0118
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -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
 ====