Refactored to fix intermittent bug with module containing scoped require returning undefined
Refactored to fix intermittent bug with module containing scoped require returning undefined

asmblah/modular