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 modules under ./stats directory and add type definitions #47

Merged
merged 1 commit into from
Aug 18, 2017

Conversation

sarslanhan
Copy link
Contributor

@sarslanhan sarslanhan commented Aug 17, 2017

Related to #46

exports.EWMA = require('./exponentially_weighted_moving_average');
exports.ExponentiallyDecayingSample = require('./exponentially_decaying_sample');
exports.Sample = require('./sample');
exports.UniformSample = require('./uniform_sample');

Choose a reason for hiding this comment

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

Please leave a new line here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@mshaaban088
Copy link

👍

@sarslanhan sarslanhan force-pushed the export-stats-modules branch from 7c7f089 to 792d3f7 Compare August 17, 2017 08:48
exports.Sample = Stats.Sample;
exports.UniformSample = Stats.UniformSample;

exports.version = '0.1.12';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll find a way to automate this, should be pullable from package.json

Copy link
Collaborator

@tolbertam tolbertam left a comment

Choose a reason for hiding this comment

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

Looks great, thank you for your contribution! Will include in 0.1.13

@tolbertam
Copy link
Collaborator

d'oh, I meant to approve, not request changes 🤦‍♂️. looks great :)

@tolbertam tolbertam merged commit d0b4b18 into mikejihbe:master Aug 18, 2017
@sarslanhan sarslanhan deleted the export-stats-modules branch August 19, 2017 09:48
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.

3 participants