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

Change URL to url on EventSource #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Change URL to url on EventSource #48

wants to merge 2 commits into from

Conversation

polysg
Copy link

@polysg polysg commented Apr 23, 2016

It doesn't look like url is defined on eventsource. Maybe it should be URL instead?

@jerone
Copy link

jerone commented Apr 23, 2016

According to the docs, the lowercase variant is used. Maybe change the other references to URL to lowercase instead.

According to the spec, the `url` attribute on `EventSource` is lowercase.
https://www.w3.org/TR/2011/WD-eventsource-20110208/#the-eventsource-interface
@polysg polysg changed the title Change eventsource.url to eventsource.URL Change URL to url on EventSource Apr 23, 2016
@polysg
Copy link
Author

polysg commented Apr 23, 2016

Thanks for pointing this out @jerone. I agree and have updated the PR.

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.

2 participants