Better formatting

This commit is contained in:
Rahix 2017-04-10 18:10:29 +02:00
parent c4bd3dffef
commit ffce90b049

View file

@ -40,12 +40,12 @@ id = bc:listen_noun("<noun>", event_type, event_arg, function callback)
which is used to register asynchroneous callbacks on noun changes. which is used to register asynchroneous callbacks on noun changes.
`event_type` is one of `event_type` is one of
* onchange => whenever the value changes, `event_arg` is ignored * `onchange` => whenever the value changes, `event_arg` is ignored
* onrising => whenever the value gets bigger, `event_arg` is ignored * `onrising` => whenever the value gets bigger, `event_arg` is ignored
* onfalling => whenever the value gets smaller, `event_arg` is ignored * `onfalling` => whenever the value gets smaller, `event_arg` is ignored
* onvalue => whenever the value equals `event_arg` * `onvalue` => whenever the value equals `event_arg`
* onabove => whenever the value is bigger than `event_arg` * `onabove` => whenever the value is bigger than `event_arg`
* onbelow => whenever the value smaller than `event_arg` * `onbelow` => whenever the value smaller than `event_arg`
A listener can be removed using A listener can be removed using