Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
, ' module.exports = definition();'
, ' } else if (typeof define === \'function\' && typeof define.amd === \'object\') {'
, ' define(function () {'
, ' return definition();'
, ' });'
, ' } else {'
, ' context[name] = definition();'
, ' }'
, '}(\'chai\', this, function () {\n'
].join('\n'))
.suffix([
'\n return require(\'chai\');'
, '});'
].join('\n'))
.pop()
.use(folio.save())
.file('./chai.js')
.pop()
.compile();