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

Add ignore previous state flag #47

Open
clemencov opened this issue Dec 11, 2012 · 1 comment
Open

Add ignore previous state flag #47

clemencov opened this issue Dec 11, 2012 · 1 comment

Comments

@clemencov
Copy link

Would be great to have same as crossroads.ignoreState flag to forced dispatch

@millermedeiros
Copy link
Owner

This would affect only hasher.setHash() because on IE 6-7 we pool for the current hash value to detect if it did change since last time.

This change is trivial and I agree that it could be useful in some cases, way easier to do it inside hasher itself than requiring some kind of wrapper/proxy. It might also be a motivator to do some cleanup in the code and abstract all the places that check the value of _hash (internal state, used to store previous/current hash value).

Right now I'm focusing on other projects so it might take a while, feel free to ask for a pull request in case you have time to do it. I will keep you posted in case I decide to work on this feature.

Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants