Skip to content

Change URL to url on EventSource#48

Open
polysg wants to merge 2 commits into
remy:masterfrom
polysg:patch-1
Open

Change URL to url on EventSource#48
polysg wants to merge 2 commits into
remy:masterfrom
polysg:patch-1

Conversation

@polysg

@polysg polysg commented Apr 23, 2016

Copy link
Copy Markdown

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

@jerone

jerone commented Apr 23, 2016

Copy link
Copy Markdown

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

polysg commented Apr 23, 2016

Copy link
Copy Markdown
Author

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