Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 node.js/README.md
8 node.js/README.md
Source Rendered
@@ -8,13 +8,13 @@ Allows you to call haibu programmatically from inside your node.js scripts.
8 8
9 9 ```javascript
10 10 var eyes = require('eyes'),
11   - haibu = require('haibu');
  11 + haibu = require('haibu-api');
12 12
13 13 // Create a new client for communicating with the haibu server
14   -var client = new haibu.drone.Client({
  14 +var client = haibu.createClient({
15 15 host: 'localhost',
16 16 port: 9002
17   -});
  17 +}).drone;
18 18
19 19 // A basic package.json for a node.js application on haibu
20 20 var app = {
@@ -57,4 +57,4 @@ All of the `haibu` tests are written in [vows][0], and cover all of the use case
57 57
58 58 #### License: MIT
59 59 #### Author: [Nodejitsu Inc](http://nodejitsu.com)
60   -#### Contributors: [Maciej Malecki](http://github.com/mmalecki), [Charlie Robbins](http://github.com/indexzero)
  60 +#### Contributors: [Maciej Malecki](http://github.com/mmalecki), [Charlie Robbins](http://github.com/indexzero)

0 comments on commit 7ee768d

Please sign in to comment.
Something went wrong with that request. Please try again.