]> gitweb.factorcode.org Git - factor.git/commitdiff
models: cleanup docs for $slots.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 27 May 2020 19:51:31 +0000 (12:51 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 27 May 2020 19:51:31 +0000 (12:51 -0700)
basis/models/models-docs.factor

index e565045780c15a73a243d5a72c234f900b6b3fa2..57a0f59584095767f04532dfe1b5ded6b822a509 100644 (file)
@@ -5,11 +5,11 @@ IN: models
 HELP: model
 { $class-description "A mutable cell holding a single value. When the value is changed, a sequence of connected objects are notified. Models have the following slots:"
     { $slots
-        { "value" "the value of the model. Use " { $link set-model } " to change the value." }
-        { "connections" "a sequence of objects implementing the " { $link model-changed } " generic word, to be notified when the model's value changes." }
-        { "dependencies" "a sequence of models which should have this model added to their sequence of connections when activated." }
-        { "ref" "a reference count tracking the number of models which depend on this one." }
-        { "locked?" "a slot set by " { $link with-locked-model } " to ensure that the model doesn't get changed recursively" }
+        { "value" { "the value of the model. Use " { $link set-model } " to change the value." } }
+        { "connections" { "a sequence of objects implementing the " { $link model-changed } " generic word, to be notified when the model's value changes." } }
+        { "dependencies" { "a sequence of models which should have this model added to their sequence of connections when activated." } }
+        { "ref" { "a reference count tracking the number of models which depend on this one." } }
+        { "locked?" { "a slot set by " { $link with-locked-model } " to ensure that the model doesn't get changed recursively" } }
     }
 "Other classes may inherit from " { $link model } "."
 } ;