Skip to content

Instantly share code, notes, and snippets.

@glassesfactory
Created December 12, 2014 14:46
Show Gist options
  • Save glassesfactory/3ef86f2667c0921d1994 to your computer and use it in GitHub Desktop.
Save glassesfactory/3ef86f2667c0921d1994 to your computer and use it in GitHub Desktop.
Config = require '../Config'
lib = Config.getLibPath() #path.relative とか process.cwd() とか駆使して動的にモジュールの場所を解決してくれるメソッドを頑張って作って下さい。
libA = require lib + '/libA'
libB = require lib + '/libB'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment