Permalink
Browse files

Merge pull request #2 from frankrousseau/master

NodeJS client README is wrong
  • Loading branch information...
mmalecki committed Oct 27, 2012
2 parents b6567a1 + 7ee768d commit 4d2407892ec146123079a710f04d4c559098ffa2
Showing with 4 additions and 4 deletions.
  1. +4 −4 node.js/README.md
View
@@ -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 = {
@@ -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.