Browse files

Merge pull request #25 from alejandromg/master

Fix to make it work with node v0.6.6
  • Loading branch information...
2 parents 31cc777 + f9698bc commit 43855c0502d34b347caa11a4bf69005c78d3db41 @jed committed Jan 11, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 index.js
View
3 index.js
@@ -23,8 +23,7 @@ function imports( exports ) {
else {
console.log( name.replace( /\W/g, "/" ), name.replace( /\W/g, "/" ) )
-
- require( name.replace( /\W/g, "/" ) )( function( lib ) {
+ require( './' + name.replace( /\W/g, "/" ) )( function( lib ) {
libs.push( lib );
loop();
}, imports );

0 comments on commit 43855c0

Please sign in to comment.