README: clarification that the issue is due to duck-typing

This commit is contained in:
Daniel Cousens 2015-04-10 10:33:58 +10:00
parent d11677159b
commit 3ab6f3e2a2

View file

@ -77,8 +77,9 @@ You will then be able to load `foobar.js` into your browser, with each of the de
**NOTE**: See our package.json for the currently supported version of browserify used by this repository.
**NOTE**: If you're planning to uglify/minify the javascript, make sure to exclude the following variable names from being mangled:
**NOTE**: When uglifying the javascript, you must exclude the following variable names from being mangled.
`['Buffer', 'BitInteger', 'Point', 'Script', 'ECPubKey', 'ECKey']`
This is because of the function-name-duck-typing used in [typeforce](https://github.com/dcousens/typeforce).
## Examples