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

Adjusted change reactor primitive #31

Merged
merged 4 commits into from Mar 30, 2013

Conversation

jcrugzz
Copy link
Member

@jcrugzz jcrugzz commented Feb 13, 2013

@indexzero based on our exchange in #4 i decided to just write a scenario since its easier to talk over code. It seems that the choices are sacrifice api cleanliness for multi key or sacrifice multi key. Thoughts?

return all;
}, []);
// Case where you want a specified change
if(options) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor style nitpicking: if (options)

@mmalecki
Copy link
Contributor

LGTM. I see no problem with creating multiple reactor, this is cleaner.

@jcrugzz
Copy link
Member Author

jcrugzz commented Mar 30, 2013

@mmalecki Word, merging.

jcrugzz added a commit that referenced this pull request Mar 30, 2013
Adjusted change reactor primitive to be simpler and have clean api with {from: x, to: y} options
@jcrugzz jcrugzz merged commit 8532872 into nodejitsu:master Mar 30, 2013
@jcrugzz jcrugzz deleted the change-primitive branch March 30, 2013 01: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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants