Ambly currently defines require simply for use in the implementation of CLOSURE_IMPORT_SCRIPT. It is really just a file loading / injection mechanism.
But, require already has meaning in a lot of contexts and it could interfere with foreign libs that expect certain semantics out of this global function.
Ambly currently defines
require
simply for use in the implementation ofCLOSURE_IMPORT_SCRIPT
. It is really just a file loading / injection mechanism.But,
require
already has meaning in a lot of contexts and it could interfere with foreign libs that expect certain semantics out of this global function.