Skip to content

Instantly share code, notes, and snippets.

@jeremyroman
Created July 6, 2011 03:14
Show Gist options
  • Save jeremyroman/1066483 to your computer and use it in GitHub Desktop.
Save jeremyroman/1066483 to your computer and use it in GitHub Desktop.
// a.js
exports.message = 'hello world!';
exports.b = require('./b');
// b.js
var a = require('./a');
module.exports = function() { return a.message; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment