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

Fix json import in slim build #1036

Merged
merged 2 commits into from
Nov 27, 2016

Conversation

darrachequesne
Copy link
Member

Fixes #1034

Since var json = require('json3'); returns an empty callback (/support/noop.js), the slim build throws: Uncaught TypeError: json.stringify is not a function.

@darrachequesne darrachequesne merged commit d47bbd8 into socketio:master Nov 27, 2016
@darrachequesne darrachequesne added this to the 1.7.1 milestone Nov 27, 2016
@darrachequesne darrachequesne deleted the fix/json-require branch November 28, 2016 02:11
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.

1 participant