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

Removed superstitious condition #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jackmoore
Copy link

Params will only ever be an empty object, because the enroute function always passes an empty object and the only way match is invoked is through enroute. IMO, it would be better form for match to return a param object that it defines rather than mutating a parameter.

Params will only ever be an empty object, because the enroute function always passes an empty object and the only way match is invoked is through enroute.  IMO, it would be better form for match to return a param object that it defines rather than mutating a parameter.
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.

1 participant