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

Allows hook to prevent handler to be resolved #58

Merged
merged 1 commit into from
Nov 7, 2016

Conversation

sergiopvilar
Copy link
Contributor

This commit allows the before hook to prevent the handler to be resolved
by simply calling the done function by passing false as argument.

To get test running in my local machine I need to run npm run build and replace the import Navigo from '../../lib/navigo'; by import Navigo from '../../lib/navigo.min'; because somehow lib/navigo.js is not being updated in npm run build.

Note: This PR does not resolve #57

This commit allows the `before` hook to prevent the handler to be resolved
by simply calling the `done` function by passing `false` as argument.
@krasimir krasimir merged commit d01d175 into krasimir:master Nov 7, 2016
krasimir pushed a commit that referenced this pull request Nov 7, 2016
@krasimir
Copy link
Owner

krasimir commented Nov 7, 2016

Awesome. 3.4.0 released containing this feature.

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.

Navigo triggers resolve for hash with hash navigation disabled
2 participants