Skip to content

Commit daa0817

Browse files
reformatted code sections in README
1 parent c767d18 commit daa0817

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Add the following code to your ~/MagicMirror/config/config.js:
1818
module: "MMM-CommandToNotification",
1919
disabled: false,
2020
config: {
21-
commands: [
22-
]
21+
commands: [
22+
]
2323
},
2424
},
2525
```
@@ -52,31 +52,31 @@ Add the following example to produce the following result:
5252
* the result of the script (JSON object as string) will be send as payload of notification TEST3
5353

5454
```
55-
{
55+
{
5656
module: "MMM-CommandToNotification",
5757
disabled: false,
5858
config: {
5959
updateInterval: 10,
60-
commands: [
61-
{
62-
script: "randomInteger.js",
63-
args: "-10 10",
64-
timeout: 5,
65-
notifications: [
66-
"TEST1",
67-
"TEST2",
68-
],
69-
},
70-
{
71-
script: "randomNumberJson.js",
72-
args: "-50 20",
73-
skips: 3,
74-
timeout: 10,
75-
notifications: [
76-
"TEST3",
77-
],
78-
}
79-
]
60+
commands: [
61+
{
62+
script: "randomInteger.js",
63+
args: "-10 10",
64+
timeout: 5,
65+
notifications: [
66+
"TEST1",
67+
"TEST2",
68+
],
69+
},
70+
{
71+
script: "randomNumberJson.js",
72+
args: "-50 20",
73+
skips: 3,
74+
timeout: 10,
75+
notifications: [
76+
"TEST3",
77+
],
78+
}
79+
]
8080
},
8181
},
8282
```

0 commit comments

Comments
 (0)