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

Export function from index.js that accepts a config #1

Merged
merged 2 commits into from
Jan 10, 2017

Conversation

arnarthor
Copy link
Owner

This allows us to do something like require('newrelic')(config) instead of having to create a config file in the root of our project.

@arnarthor arnarthor merged commit 2d047b7 into master Jan 10, 2017
@arnarthor arnarthor deleted the export-function branch January 10, 2017 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant