Skip to content

Instantly share code, notes, and snippets.

@kriskowal
Created December 14, 2009 01:25
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 kriskowal/255712 to your computer and use it in GitHub Desktop.
Save kriskowal/255712 to your computer and use it in GitHub Desktop.
exports.getC = function () {
return c;
};
var c = require("./c");
exports.getC = function () {
return c;
};
var c = require("./c");
require("./b");
module.exports = "Hello, Dave.";
var a = require("./a");
var b = require("./b");
var sys = require("sys");
sys.puts(a.getC());
sys.puts(b.getC());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment