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

use toArrayBuffer() only when present #52

Merged
merged 1 commit into from Apr 22, 2016

Conversation

Projects
None yet
2 participants
@substack
Contributor

substack commented Mar 25, 2016

toArrayBuffer() was removed in node core a long time ago and was removed from browserify's buffer implementation in january: feross/buffer#90

This patch guards the call to toArrayBuffer() only when it's present.

Fixes #50.

@maxogden maxogden merged commit 2b2f7b9 into Level:master Apr 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment