Skip to content
Browse files

Remove narwhal package hint

  • Loading branch information...
1 parent 7fea3c2 commit d141f4b1f50a24e7245bd4abf1df8dfd3bbf67b1 @kriszyp committed Sep 4, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/nodules.js
View
4 lib/nodules.js
@@ -263,7 +263,7 @@ function makeRequire(currentId){
}
}
try{
- return moduleExports[id] || defaultRequire(id, "narwhal"); // for narwhal, only look for narwhal system modules, this will be ignored by node
+ return moduleExports[id] || defaultRequire(id);
}catch(e){
if(e.message.substring(0, 19) == "Can not find module"){
throw new Error("Can not find module " + uri);
@@ -348,7 +348,7 @@ function makeRequire(currentId){
}
try{
//check to see if it is a system module
- moduleExports[id] || defaultRequire(id, "narwhal");
+ moduleExports[id] || defaultRequire(id);
}catch(e){
factories[uri] = function(){
throw new Error(error.message + " failed to load " + uri);

0 comments on commit d141f4b

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