Inject global
Somehow we want to require koa-cola project files but without running the project, if the file contain global refer which base on run-time like app.xxx
, this will thow a exception, in this particular situation we need use reqInject
to inject global.app
.
|
|