Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed markdown syntax in example

  • Loading branch information...
commit fa856a495e941a778abeb446ad03734368010164 1 parent e81f4b7
@olegp authored
Showing with 16 additions and 16 deletions.
  1. +16 −16 README.md
View
32 README.md
@@ -102,23 +102,23 @@ To use the package in your existing app, you will need to:
* run your app with `node` instead of `common-node`
* change the way in which you require modules from `var io = require('io');` to `var io = require('common-node').io;`
-For example the following modified version of the `http.js` can be run directly via `node http.js`
+For example the following modified version of `examples/http.js` can be run directly via `node http.js`
- var HttpClient = require('httpclient').HttpClient;
-
- exports.app = function(request) {
- return {
- status: 200,
- headers: {},
- body: new HttpClient({
- url: 'http://google.com'
- }).finish().body
- };
- };
-
- if(require.main == module) {
- require('common-node').run(exports);
- }
+ var HttpClient = require('httpclient').HttpClient;
+
+ exports.app = function(request) {
+ return {
+ status: 200,
+ headers: {},
+ body: new HttpClient({
+ url: 'http://google.com'
+ }).finish().body
+ };
+ };
+
+ if(require.main == module) {
+ require('common-node').run(exports);
+ }
### Contributing
Please sign in to comment.
Something went wrong with that request. Please try again.