JS: Update OK-style comments to $-style

This commit is contained in:
Asger F
2025-02-06 13:34:01 +01:00
parent 7e5c24a8ec
commit 9be041e27d
536 changed files with 4408 additions and 4762 deletions

View File

@@ -12,7 +12,7 @@ actions.put("pause", function pause(data) {
app.get('/perform/:action/:payload', function(req, res) {
let action = actions.get(req.params.action);
if (typeof action === 'function') {
res.end(action(req.params.payload)); // GOOD: `action` is either the `play` or the `pause` function from above
res.end(action(req.params.payload)); // OK - `action` is either the `play` or the `pause` function from above
} else {
res.end("Unsupported action.");
}