Browse files

README whitespace removal

  • Loading branch information...
1 parent a4b539c commit 96c37258316e1de2fc28899c66fffc4006d41086 @3rd-Eden committed Apr 21, 2011
Showing with 25 additions and 25 deletions.
  1. +25 −25 Readme.md
View
50 Readme.md
@@ -28,31 +28,31 @@ Options:
## Example
``` js
- var http = require('http')
- , cluster = require('cluster')
- , exception = require('../');
-
- var app = http.createServer(function httpServer(req, res){
- res.writeHead(200);
- res.end("hello world");
- if(req.url.match('favicon')){
- console.info('Im a console.info');
- console.warn('Im a console.warn');
- console.log('Im a console.log');
- console.error('Im a console.error');
- console.info(req);
-
- throw new Error("Omfg, uncaught error");
- }
- });
-
- cluster = cluster(app)
- .use(cluster.stats())
- .use(cluster.pidfiles('pids'))
- .use(cluster.cli())
- .use(cluster.repl(8888))
- .use(exception({to: 'your-email@ddress.here'}))
- .listen(8080);
+var http = require('http')
+ , cluster = require('cluster')
+ , exception = require('../');
+
+var app = http.createServer(function httpServer(req, res){
+ res.writeHead(200);
+ res.end("hello world");
+ if(req.url.match('favicon')){
+ console.info('Im a console.info');
+ console.warn('Im a console.warn');
+ console.log('Im a console.log');
+ console.error('Im a console.error');
+ console.info(req);
+
+ throw new Error("Omfg, uncaught error");
+ }
+});
+
+cluster = cluster(app)
+ .use(cluster.stats())
+ .use(cluster.pidfiles('pids'))
+ .use(cluster.cli())
+ .use(cluster.repl(8888))
+ .use(exception({to: 'your-email@ddress.here'}))
+ .listen(8080);
```
Or check the [examples](https://github.com/3rd-Eden/cluster.exception/tree/master/examples) folder for more examples.

0 comments on commit 96c3725

Please sign in to comment.