Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Fix root relative urls when there's no browserRootURL setting#138

Merged
guybedford merged 2 commits intosystemjs:masterfrom
papandreou:fix/rootRelativeUrls
Feb 27, 2018
Merged

Fix root relative urls when there's no browserRootURL setting#138
guybedford merged 2 commits intosystemjs:masterfrom
papandreou:fix/rootRelativeUrls

Conversation

@papandreou
Copy link
Copy Markdown
Contributor

@montoriusz, could you test in your end that it fixes #135 (comment)?

@montoriusz
Copy link
Copy Markdown

@papandreou I'm sorry, I can't test it in the original working environment. It would require rebuilding a dependency project and we stick to an older version for now.

But I did review the change and it's ready to merge for me. The code looks a bit messy though. :-(

@papandreou
Copy link
Copy Markdown
Contributor Author

Well, yeah, sorry about the mess. It would help to make a variant of the absUrl function that actually checks for absolute urls, rather than just root-relative ones. For now I just wanted to fix the problem that was reported and add the tests, though.

@guybedford, ping?

@guybedford guybedford merged commit 13e5821 into systemjs:master Feb 27, 2018
@guybedford
Copy link
Copy Markdown
Member

@papandreou sure, I've published a 0.1.37.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants