Skip to content

fix Buffer not defined when running in some browser environments#81

Closed
rbuels wants to merge 2 commits intokeichi:masterfrom
rbuels:master
Closed

fix Buffer not defined when running in some browser environments#81
rbuels wants to merge 2 commits intokeichi:masterfrom
rbuels:master

Conversation

@rbuels
Copy link

@rbuels rbuels commented Apr 26, 2018

Also adds a small webpack-based test runner to run the mocha tests in whatever the default browser is. Run npm run test-webpack to run it.

I think this probably fixes #60

@cmdcolin
Copy link
Contributor

just for reference this fork https://github.com/gmod/binary-parser includes this fix and also one for running in webworker (assigns to self.Buffer)

@keichi
Copy link
Owner

keichi commented Jun 11, 2019

This has been fixed in #103. Also, #121 added tests for browser environments.

@keichi keichi closed this Jun 11, 2019
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

Successfully merging this pull request may close these issues.

Buffer is not defined on generated code calling compiled

3 participants