Skip to content

Commit

Permalink
Merge pull request #2 from frankrousseau/master
Browse files Browse the repository at this point in the history
NodeJS client README is wrong
  • Loading branch information
mmalecki committed Oct 27, 2012
2 parents b6567a1 + 7ee768d commit 4d24078
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions node.js/README.md
Expand Up @@ -8,13 +8,13 @@ Allows you to call haibu programmatically from inside your node.js scripts.

```javascript
var eyes = require('eyes'),
haibu = require('haibu');
haibu = require('haibu-api');

// Create a new client for communicating with the haibu server
var client = new haibu.drone.Client({
var client = haibu.createClient({
host: 'localhost',
port: 9002
});
}).drone;

// A basic package.json for a node.js application on haibu
var app = {
Expand Down Expand Up @@ -57,4 +57,4 @@ All of the `haibu` tests are written in [vows][0], and cover all of the use case

#### License: MIT
#### Author: [Nodejitsu Inc](http://nodejitsu.com)
#### Contributors: [Maciej Malecki](http://github.com/mmalecki), [Charlie Robbins](http://github.com/indexzero)
#### Contributors: [Maciej Malecki](http://github.com/mmalecki), [Charlie Robbins](http://github.com/indexzero)

0 comments on commit 4d24078

Please sign in to comment.