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

Allow reporters to be specified as require strings #9

Merged
merged 5 commits into from
Jun 17, 2014

Conversation

milang
Copy link
Member

@milang milang commented Jun 17, 2014

No description provided.

reporter = module.exports.defaultReporter;
if (typeof reporter !== "function") {
return defaultReporter;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use ternary return.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also increment version to 0.2.0.

@milang
Copy link
Member Author

milang commented Jun 17, 2014

@pandell/core-developers please review.

@jgoz
Copy link
Contributor

jgoz commented Jun 17, 2014

👍 works for me.

milang added a commit that referenced this pull request Jun 17, 2014
Allow reporters to be specified as require strings
@milang milang merged commit be3d3a2 into master Jun 17, 2014
@milang milang deleted the allow-stringreporters branch June 17, 2014 14:52
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