Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for msCrypto before v3.2.0 #241

Closed
broofa opened this issue Nov 28, 2017 · 0 comments
Closed

Check for msCrypto before v3.2.0 #241

broofa opened this issue Nov 28, 2017 · 0 comments

Comments

@broofa
Copy link
Member

broofa commented Nov 28, 2017

Per 0ea33e6#r25908135

Should probably be something like ...

var crypto = typeof(crypto) != undefined ? crypto : typeof(msCrypto) != undefined ? msCrypto : null;

// etc...
broofa referenced this issue Nov 28, 2017
* use typeof to check for crypto rather than global.  Fixes #185

* fix test(s) for node v0.12

* tweak
@broofa broofa mentioned this issue Dec 2, 2017
broofa added a commit that referenced this issue Dec 26, 2017
@broofa broofa closed this as completed in 1fef18b Jan 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant