Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Expose action creators from createActionType #15

Merged
merged 1 commit into from
Aug 24, 2016

Conversation

danielkcz
Copy link
Contributor

@danielkcz danielkcz commented Aug 24, 2016

I think that naming it creators is just fine.

Fixes #14

@@ -14,8 +14,9 @@ function createActionType(actions) {
Action.dispatch = function (x) {
return dispatcher[x.type];
};
Action.creators = actionsCreators;
Copy link
Owner

Choose a reason for hiding this comment

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

typo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Damn, such a simple change... 😆

@gcanti gcanti merged commit eaa66c8 into gcanti:master Aug 24, 2016
@danielkcz danielkcz deleted the patch-1 branch August 24, 2016 09:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants