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 support for MozWebSocket #24

Merged
merged 1 commit into from Sep 25, 2019

Conversation

patricksculley
Copy link
Contributor

The component no longer works with Firefox 55.0.3 because of their new WebSocket implementation. I have added detection and switch support so FF browsers now work again.

@mehmetkose
Copy link
Owner

What about sth like this?

var Socket = "MozWebSocket" in window ? MozWebSocket : WebSocket;
var ws = new Socket("ws://localhost:8080/");

@mehmetkose mehmetkose self-requested a review September 30, 2017 17:46
@mehmetkose mehmetkose merged commit 62a4814 into mehmetkose:master Sep 25, 2019
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.

None yet

2 participants