mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
Use better WebSocket constructor in wsexp.html because it's an example.
This commit is contained in:
parent
213964afba
commit
23b5b7ac19
@ -57,7 +57,7 @@
|
||||
}
|
||||
|
||||
var varTable = document.querySelector('table.variables');
|
||||
var ws = new WebSocket("ws://localhost:8888/api/ws/VariableServer", "myProtocol");
|
||||
var ws = new WebSocket('ws://localhost:8888/api/ws/VariableServer');
|
||||
|
||||
// WebSocket Event Handlers
|
||||
ws.onopen = function(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user