Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

use toArrayBuffer() only when present #52

Merged
merged 1 commit into from Apr 22, 2016
Merged

use toArrayBuffer() only when present #52

merged 1 commit into from Apr 22, 2016

Conversation

ghost
Copy link

@ghost ghost 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.

@max-mapper max-mapper merged commit 2b2f7b9 into Level:master Apr 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant