Skip to content

Instantly share code, notes, and snippets.

@joshwnj
Created August 6, 2015 23:46
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 joshwnj/2017ab5a77b200d82659 to your computer and use it in GitHub Desktop.
Save joshwnj/2017ab5a77b200d82659 to your computer and use it in GitHub Desktop.
var b = require('./b')
console.log('B', b);
module.exports = {
doThingA: function () {
console.log('thing A');
b.doThingB();
}
}
var a = require('./a')
module.exports = {
doThingB: function () {
console.log('thing B');
}
}
var a = require('./a');
a.doThingA();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment