Created
April 29, 2017 15:31
-
-
Save avoronkin/16b2cb1c1011434c42862b3999263f5b to your computer and use it in GitHub Desktop.
app_require
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global.app_require = function(name) { | |
return require(__dirname + '/' + name); | |
} | |
var fs = require('fs'), | |
config = app_require('config'), | |
common = app_require('utils/common'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment