bitwiseshiftleft/sjcl — pull request #139 by DarkPark (2013-11-26 19:31:11+00:00)
Title: commonjs client-side wrapper use

commonjs module wrappers like browserify can emulate nodejs environment but not provide all native nodejs modules like crypto
so the check `typeof module !== 'undefined' && module.exports` is not sufficient as for example browserify provide method `require` and gracefully handle a call of a non existing module
`require('crypto')` returns an empty object and the whole following procedure of entropy addition fails