From 3ab6f3e2a25561ddee004d7fc846ebf03929a42d Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 10 Apr 2015 10:33:58 +1000 Subject: [PATCH] README: clarification that the issue is due to duck-typing --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89fac42..07cef0c 100644 --- a/README.md +++ b/README.md @@ -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