]> git.basschouten.com Git - openhab-addons.git/commitdiff
[jsscripting] Fix broken event object table (#13952)
authorWouter Born <github@maindrain.net>
Thu, 15 Dec 2022 06:51:22 +0000 (07:51 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Dec 2022 06:51:22 +0000 (07:51 +0100)
The table is not properly rendered when reading the documentation in Main UI.

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.automation.jsscripting/README.md

index 0d84bd154103e2f93dacd6a8b0d8719bfe97a11e..9d1841b9f96eee6c2022b70acd8f608ff7cde9b7 100644 (file)
@@ -94,7 +94,7 @@ See [openhab-js](https://openhab.github.io/openhab-js) for a complete list of fu
 
 When you use "Item event" as trigger (i.e. "[item] received a command", "[item] was updated", "[item] changed"), there is additional context available for the action in a variable called `event`.
 
-This tables gives an overview over the `event` object for most common trigger types:
+This table gives an overview over the `event` object for most common trigger types:
 
 | Property Name  | Type                                                                                                                 | Trigger Types                          | Description                                                                                                   | Rules DSL Equivalent   |
 |----------------|----------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------------------------------------------------------------------------------------------------------|------------------------|
@@ -1030,7 +1030,8 @@ When a rule is triggered, the script is provided the event instance that trigger
 The specific data depends on the event type.
 The `event` object provides some information about that trigger.
 
-This tables gives an overview over the `event` object:
+This table gives an overview over the `event` object:
+
 | Property Name     | Trigger Types                                        | Description                                                                         | Rules DSL Equivalent   |
 |-------------------|------------------------------------------------------|-------------------------------------------------------------------------------------|------------------------|
 | `oldState`        | `ItemStateChangeTrigger`, `GroupStateChangeTrigger`  | Previous state of Item or Group that triggered event                                | `previousState`        |