Skip to content

Commit

Permalink
Add marker so web sockets are displayed correctly by toString
Browse files Browse the repository at this point in the history
  • Loading branch information
evancz committed Oct 7, 2016
1 parent ab83153 commit f475bdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Native/WebSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function open(url, settings)
try
{
var socket = new WebSocket(url);
socket.elm_web_socket = true;
}
catch(err)
{
Expand Down

0 comments on commit f475bdb

Please sign in to comment.