Closed sha49 closed 8 years ago
Please put a whitespace after the if
(in accordance with standard
- you can run npm test
to verify).
LGTM
ping @calvinmetcalf for review + release
looks general good, I can review, browser test, and release latter this weekend/monday
are you planning to do a release with that fix? Thanks!
I pushed up a test and if that looks good I'll publish it
and it does publishing as 2.0.3
Fun IE stuff.
On IE11 if you run: msCrypto.getRandomValues(new Uint8Array(0)) , it launches an exception: InvalidStateError
If you do the same on chrome it returns an empty list as it should be.
So, I think not calling getRandomValues when the size is zero solves the problem.