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 Rename 'url' to 'node-url' to resolve browser API conflict #44

Conversation

Cheddam
Copy link
Member

@Cheddam Cheddam commented Mar 6, 2020

Browsers already have a URL key on their window object, so this clashes with the expose-loader entry and makes it unusable.

Pairs with an adjustment to the expose-loader entry in silverstripe/admin: silverstripe/silverstripe-admin#1019

js/externals.js Outdated Show resolved Hide resolved
@Cheddam Cheddam force-pushed the pulls/master/url-alias branch from 2278c36 to 3ca18a7 Compare March 6, 2020 03:12
Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

Looks good.

@maxime-rainville maxime-rainville merged commit 0812bbe into silverstripe:master Mar 18, 2020
@maxime-rainville maxime-rainville deleted the pulls/master/url-alias branch March 18, 2020 02:01
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.

3 participants