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

fix: Right trim URLs before outputting them in getSelector #924

Merged
merged 1 commit into from
Jun 4, 2018

Conversation

WilcoFiers
Copy link
Contributor

@WilcoFiers WilcoFiers commented May 28, 2018

Closes #788

PR Checklist

Please check if your PR fulfills the following requirements:

Description of the changes

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@@ -19,6 +19,10 @@ function splitString (str, splitIndex) {
return [str.substring(0, splitIndex), str.substring(splitIndex)];
}

function trimRight (str) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Use prototype methods - .trimRight() or .trimEnd()?
Need IE Support?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, needs to work in IE.

@WilcoFiers WilcoFiers force-pushed the friendly-url-trim branch 2 times, most recently from 88cb1dd to a416d06 Compare May 28, 2018 14:47
@WilcoFiers WilcoFiers merged commit 4775a23 into develop Jun 4, 2018
@WilcoFiers WilcoFiers deleted the friendly-url-trim branch June 4, 2018 13:48
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.

Issue when using axe API to get selector of an element
3 participants