Skip to content

Commit

Permalink
Added support for node-gossip to be run from within a project's
Browse files Browse the repository at this point in the history
directory.  This means that one can use git submodule to install it.
I was unable to get the tests working because a require path problem.
This problem was so bad I can only assume my environment is incorrect
for running expresso tests.  Please run tests and make sure they work.
  • Loading branch information
godsflaw committed Feb 19, 2012
1 parent 63abc94 commit bbcaa76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file is just added for convenience so this repository can be
// directly checked out (submodule) into a project
module.exports = require('./lib/gossiper');
4 changes: 2 additions & 2 deletions lib/gossiper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var PeerState = require('peer_state').PeerState,
Scuttle = require('scuttle').Scuttle,
var PeerState = require('./peer_state').PeerState,
Scuttle = require('./scuttle').Scuttle,
EventEmitter = require('events').EventEmitter,
net = require('net'),
sys = require('sys'),
Expand Down

0 comments on commit bbcaa76

Please sign in to comment.