Index: TODO
===================================================================
diff -u -r8b8e75e010beae46adb99f4902ca80c50b1a6825 -r6ad7855cd7aba089f7a160293802e1639d0d6198
--- TODO (.../TODO) (revision 8b8e75e010beae46adb99f4902ca80c50b1a6825)
+++ TODO (.../TODO) (revision 6ad7855cd7aba089f7a160293802e1639d0d6198)
@@ -3659,6 +3659,7 @@
- example scripts: added tk-mini and tk-horse-race
- make "/object/ require" an ensemble method
+- traits: renamed "useTrait" into "require trait"
TODO:
Index: doc/example-scripts/tk-horse-race.html
===================================================================
diff -u -r2076ef459f42cdf6426522aab56be490b66c2436 -r6ad7855cd7aba089f7a160293802e1639d0d6198
--- doc/example-scripts/tk-horse-race.html (.../tk-horse-race.html) (revision 2076ef459f42cdf6426522aab56be490b66c2436)
+++ doc/example-scripts/tk-horse-race.html (.../tk-horse-race.html) (revision 6ad7855cd7aba089f7a160293802e1639d0d6198)
@@ -773,8 +773,8 @@
:property canvas:required ; :property n:integer,required ;
- :useTrait nx::TCallback
- :useTrait TListUtils
+ :require trait nx::TCallback
+ :require trait TListUtils
:method draw {x y} {
set hide [:lpick {black brown white gray brown3 brown4}]
@@ -812,8 +812,8 @@
:property {height 330} ; :property {horses} ;
- :useTrait nx::TCallback
- :useTrait TListUtils
+ :require trait nx::TCallback
+ :require trait TListUtils
:method init {} {