Skip to content

Instantly share code, notes, and snippets.

@kriszyp
Created December 17, 2009 14:29
Show Gist options
  • Save kriszyp/258778 to your computer and use it in GitHub Desktop.
Save kriszyp/258778 to your computer and use it in GitHub Desktop.
require("sys").puts("a is loaded");
require("../a");
require.paths.push(".");
require("a");
require("folder/b");
$ node c.js
a is loaded
a is loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment