Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2 from frankrousseau/master

NodeJS client README is wrong
  • Loading branch information...
commit 4d2407892ec146123079a710f04d4c559098ffa2 2 parents b6567a1 + 7ee768d
@mmalecki mmalecki authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 node.js/README.md
View
8 node.js/README.md
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.