Skip to content

Instantly share code, notes, and snippets.

@Nomon
Created January 27, 2011 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nomon/798551 to your computer and use it in GitHub Desktop.
Save Nomon/798551 to your computer and use it in GitHub Desktop.
$ node --version
v0.2.5
$ node file.js
index.js
file.js
----
$ node --version
v0.3.7-pre
$ node file.js
test.js
file.js
require('./test/');
console.log("file.js");
// in test/index.js
console.log("index.js");
console.log("test.js");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment