Skip to content

Extracted mime instantiation to outer scope #86

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

Merged
merged 1 commit into from
Mar 30, 2016

Conversation

afan1
Copy link
Contributor

@afan1 afan1 commented Feb 19, 2016

...so that even if base64_encode is called later on without require function available, the code still works.

This is for the case that if we instantiate a websocket client in a pseudo sandboxed environment where the require function has been set to nil (_G.require = nil) we can still use the websocket client without it crashing.

…code is called later on without require function available, the code still works.
@lipp
Copy link
Owner

lipp commented Mar 30, 2016

@afan1 did the tests run for you ok locally?

@lipp
Copy link
Owner

lipp commented Mar 30, 2016

@afan1 just updated the Dockerfile so you should be able to run the tests

docker build .

@lipp
Copy link
Owner

lipp commented Mar 30, 2016

sorry...didnt see the change was so tiny :)

@lipp lipp merged commit 1ec1ac6 into lipp:master Mar 30, 2016
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.

2 participants