Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README correction

The way to create a nodejs client for Haibu with haibu-api was wrong.
  • Loading branch information...
commit 7ee768d84d52cc79b24522aa32b5e0ced4d2dc8d 1 parent b6567a1
Frank Rousseau frankrousseau authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 node.js/README.md
8 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)
Please sign in to comment.
Something went wrong with that request. Please try again.