You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there any reason, why rng-browser.js use global explicitly?
We create a browserify --bare bundle which do not inject the global variable which breaks our browserify bundle.
Isn't it better to just test crypto availability with typeof and use it directly? Therefore the global access is made implicitly which works well in browser and in node environments.
Thanks!
Florian
The text was updated successfully, but these errors were encountered:
Hi,
is there any reason, why rng-browser.js use global explicitly?
We create a browserify --bare bundle which do not inject the global variable which breaks our browserify bundle.
Isn't it better to just test crypto availability with typeof and use it directly? Therefore the global access is made implicitly which works well in browser and in node environments.
Thanks!
Florian
The text was updated successfully, but these errors were encountered: