Skip to content

Commit

Permalink
Updated for recent change in npm name of couchdb module.
Browse files Browse the repository at this point in the history
  • Loading branch information
cskr authored and creationix committed Aug 24, 2010
1 parent d381cb3 commit bc56f8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions articles/grasshopper-shoutbox.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ Grasshopper is a feature-rich and flexible web application framework for node.js

Install the CouchDB module for node.js ([node-couchdb][]) using these commands.

git clone http://github.com/felixge/node-couchdb.git
cd node-couchdb
sudo npm install
sudo npm install couchdb

## Creating the Application

Expand Down
2 changes: 1 addition & 1 deletion articles/grasshopper-shoutbox/app/shoutRepository.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var couchdb = require('node-couchdb'),
var couchdb = require('couchdb'),
Shout = require('./model').Shout;

exports.all = function(cb) {
Expand Down
2 changes: 1 addition & 1 deletion articles/grasshopper-shoutbox/createdb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var couchdb = require('node-couchdb'),
var couchdb = require('couchdb'),
client = couchdb.createClient();

client.request('put', '/shout');
Expand Down

0 comments on commit bc56f8f

Please sign in to comment.