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

added comments, fixes #2 #11

Merged
merged 3 commits into from
Mar 23, 2016
Merged

added comments, fixes #2 #11

merged 3 commits into from
Mar 23, 2016

Conversation

rauberdaniel
Copy link
Contributor

this fixes #2

@jfromaniello
Copy link
Owner

Hi, thanks a lot. Can you add a test to reproduce this issue?

@rauberdaniel
Copy link
Contributor Author

@jfromaniello yes sure, I will take a look at that :)

@rauberdaniel rauberdaniel changed the title added comments, fixed leading // added comments, fixes #2 Mar 17, 2016
replace normalize function to only use 3 replace rules instead of 6
@rauberdaniel
Copy link
Contributor Author

@jfromaniello Okay so I did a major rewrite now because 6 replace calls were feeling a little much… So I replaced the whole functionality with 3 replace calls.

I think it would be great to also be able to pass options (e.g. keepTrailingSlash, like requested in #10) to url-join but I guess that’s currently not so easy because the call arguments are all used for concatenation.

@jfromaniello jfromaniello merged commit d6886a3 into jfromaniello:master Mar 23, 2016
@jfromaniello
Copy link
Owner

This is very well done! Thank you, I published it as v1.0.0.

@rauberdaniel
Copy link
Contributor Author

@jfromaniello thank you very much!

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.

Doesn't preserve double slash for URLs that don't have http/https specified.
2 participants