From ffce90b0493deee6429b9d1bc2d4b796d63d2ca0 Mon Sep 17 00:00:00 2001 From: Rahix Date: Mon, 10 Apr 2017 18:10:29 +0200 Subject: [PATCH] Better formatting --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c6b98ad129fc..2e2fd3762fcb 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,12 @@ id = bc:listen_noun("", event_type, event_arg, function callback) which is used to register asynchroneous callbacks on noun changes. `event_type` is one of -* onchange => whenever the value changes, `event_arg` is ignored -* onrising => whenever the value gets bigger, `event_arg` is ignored -* onfalling => whenever the value gets smaller, `event_arg` is ignored -* onvalue => whenever the value equals `event_arg` -* onabove => whenever the value is bigger than `event_arg` -* onbelow => whenever the value smaller than `event_arg` +* `onchange` => whenever the value changes, `event_arg` is ignored +* `onrising` => whenever the value gets bigger, `event_arg` is ignored +* `onfalling` => whenever the value gets smaller, `event_arg` is ignored +* `onvalue` => whenever the value equals `event_arg` +* `onabove` => whenever the value is bigger than `event_arg` +* `onbelow` => whenever the value smaller than `event_arg` A listener can be removed using