Skip to content

Expose function to check if router is bound to window.onhashchange#350

Open
sseixas wants to merge 1 commit intoflatiron:masterfrom
sseixas:master
Open

Expose function to check if router is bound to window.onhashchange#350
sseixas wants to merge 1 commit intoflatiron:masterfrom
sseixas:master

Conversation

@sseixas
Copy link

@sseixas sseixas commented Mar 8, 2017

#When using this technology in an application exposed in an iFrame in a Salesforce community portal, we have an issue that the window.onhashchange is being overwritten by the portal we are embedded in after we initialize our routing. Thus, exposing a method to check this allows us to destroy and recreate the route if we are no longer hooked into the window.onhashchange handling.

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