Skip to content

Conversation

@aarontropy
Copy link
Contributor

Great work with this router. This PR exposes mx via commonjs so it can be packaged with browserify.

I'm not sure how to write a test for this (or that it is necessary), so if you have a suggestion I'd love to hear it.

kawan16 added a commit that referenced this pull request Jul 9, 2015
@kawan16 kawan16 merged commit 87af90b into kawan16:master Jul 9, 2015
@kawan16
Copy link
Owner

kawan16 commented Jul 9, 2015

Hi Aaron,

Thanks for your interest and your contribution ! For sure, it will be very helpful.

Indeed, I don't have a clear idea how to test it. Maybe using some kind of mock the window/module variables...

@aarontropy
Copy link
Contributor Author

No problem. Actually, this PR might be premature. browserify can nicely bundle this version up with the rest of my code, but rendering sub-states is not working.

I'll keep on poking at it.

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