浏览代码

Axxord usage in README.

Herbert Vojčík 7 年之前
父节点
当前提交
effe5d0118
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
 ====