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 the this context back to the titleToken call #5

Merged
merged 1 commit into from
Mar 7, 2015

Conversation

artsyca
Copy link
Contributor

@artsyca artsyca commented Mar 5, 2015

calling titleToken() directly sets this to window. We've been used to this being the current route, allowing for some pattern matching in the title against the current path, etc.

This allows us to access the route inside of the call to `titleToken`
kimroen added a commit that referenced this pull request Mar 7, 2015
kimroen added a commit that referenced this pull request Mar 7, 2015
kimroen added a commit that referenced this pull request Mar 7, 2015
@kimroen kimroen mentioned this pull request Mar 7, 2015
kimroen added a commit that referenced this pull request Mar 7, 2015
@kimroen kimroen merged commit 99d9608 into kimroen:master Mar 7, 2015
kimroen added a commit that referenced this pull request Mar 7, 2015
@kimroen
Copy link
Owner

kimroen commented Mar 7, 2015

Thank you very much - sorry about the oversight!

@kimroen kimroen mentioned this pull request Mar 7, 2015
@artsyca
Copy link
Contributor Author

artsyca commented Mar 9, 2015

🍻

@artsyca artsyca deleted the support/title-token-context branch March 9, 2015 20:39
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