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

Updated the README to include Babel/ES6 usage #18

Merged
merged 1 commit into from
Nov 25, 2016

Conversation

nimerix
Copy link
Contributor

@nimerix nimerix commented Nov 24, 2016

The usage example in the README results in a syntax error for Babel/ES6 users, as reported by @matthiaslau in #15:

SyntaxError: 'return' outside of function.

The usage example in the README results in a syntax error for Babel/ES6 users, as reported by @matthiaslau in mongodb-js#15:

`SyntaxError: 'return' outside of function.`
@durran durran merged commit 29221a0 into mongodb-js:master Nov 25, 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