summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim <timprice@mangoraft.com>2013-01-07 15:35:42 -0400
committerisaacs <i@izs.me>2013-01-21 19:17:01 -0800
commitd5a590134655c9a59cfcab72217442ac4c795fd7 (patch)
tree867f49fb3315b110bf41e04d1971db5ca4ab0049 /doc
parente2592cc6a3b17b36ba11e2ca191f8ea875161d52 (diff)
downloadnode-new-d5a590134655c9a59cfcab72217442ac4c795fd7.tar.gz
doc: Fix syntax in cluster example code
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cluster.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown
index fd7a2e5c11..b0abea8cdb 100644
--- a/doc/api/cluster.markdown
+++ b/doc/api/cluster.markdown
@@ -470,7 +470,7 @@ on the specified worker.
cluster.fork().on('online', function() {
// Worker is online
- };
+ });
### Event: 'listening'
@@ -481,7 +481,7 @@ on the specified worker.
cluster.fork().on('listening', function(address) {
// Worker is listening
- };
+ });
### Event: 'disconnect'
@@ -490,7 +490,7 @@ on the specified worker.
cluster.fork().on('disconnect', function() {
// Worker has disconnected
- };
+ });
### Event: 'exit'
@@ -510,4 +510,4 @@ is terminated. See [child_process event: 'exit'](child_process.html#child_proce
} else {
console.log("worker success!");
}
- };
+ });