diff --git a/sites/cheerpx/src/content/docs/12-reference/20-CheerpX-linux-callbacks.md b/sites/cheerpx/src/content/docs/12-reference/20-CheerpX-linux-callbacks.md index 6300335e..bf7528b7 100644 --- a/sites/cheerpx/src/content/docs/12-reference/20-CheerpX-linux-callbacks.md +++ b/sites/cheerpx/src/content/docs/12-reference/20-CheerpX-linux-callbacks.md @@ -106,10 +106,9 @@ cx.registerCallback("processCreated", handleProcessCreated); ```js function handleProcessCreated() { - processCount++; - console.log(`Process count: ${processCount}`); + processCount++; + console.log(`Process count: ${processCount}`); } - ``` The `handleProcessCreated` function will now increment the `processCount` variable each time it's called.