Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented Oct 25, 2018

Type: bug

The following has been addressed in the PR:

Description:

A collection of fixes for the routing:

  • Support ctrl/cmd click
  • Ensure links are generated with appropriate prefixes
  • Ensure routing is synchronous with setPath when using HashHistory
  • Strip leading # character when using StateHistory

Resolves #147
Resolves #146
Resolves #145

if (path[0] === '#') {
path = path.slice(1);
}
if (path[0] === '/') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be one if with the above right?

Copy link
Member Author

@agubler agubler Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason I did this was to guard against #/link which needs to be link

@agubler agubler merged commit ed3232d into dojo:master Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants