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 use of arbitrary values as state and event tags #34

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

mrnerdhair
Copy link

TL;DR: I switched the Object.create(null) objects used to keep track of state and event configs with new Map(), and made sure no assumptions are made regarding what objects get fed in. Strict equality semantics (===) are used when determining which state/event is being referred to in any calls.

There are also some improvements regarding testing in here; I wrote a harness to allow running multiple instances of each unit test, one for each of 8 types of keys.

@mrnerdhair
Copy link
Author

(closing/reopening pr to trigger retest)

@mrnerdhair mrnerdhair closed this Jun 7, 2018
@mrnerdhair mrnerdhair reopened this Jun 7, 2018
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

1 participant