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 tests for link interception. #37

Merged
merged 1 commit into from
May 24, 2016
Merged

Add tests for link interception. #37

merged 1 commit into from
May 24, 2016

Conversation

rictic
Copy link
Collaborator

@rictic rictic commented May 6, 2016

Moved logic from PolymerElements/app-route#95 while splitting it up and ensuring that even when clicks aren't captured there will never be a navigation.

Also added support for the target attribute of anchor tags based on the docs at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target

Fixes #15

@@ -61,10 +61,13 @@
});
}

function makeAbsoluteUrl(path) {
Copy link
Contributor

Choose a reason for hiding this comment

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

🍻

@cdata
Copy link
Contributor

cdata commented May 6, 2016

Super minor long-winded feedback.

Otherwise LGTM 👍

Also add support for the target attribute of anchor tags based on the docs at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target

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

Successfully merging this pull request may close these issues.

3 participants