Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Oct 26, 2023
1 parent 720d495 commit 5ce804d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 54 deletions.
17 changes: 0 additions & 17 deletions public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -2817,23 +2817,6 @@
socket.on('ws_socket_connected',function(data){
yz.mainVars.online = true
console.log("Websocket connected: " + JSON.stringify(data,null,2));

setTimeout(function(){
//
// _______
// Browser --Send me your data-- Server
// _______
//


setInterval(async function() {
await sendToServerViaWebSocket({
message_type: "ws_browser_asks_server_for_data"
});
}, 5000)


},3000);
});


Expand Down
37 changes: 0 additions & 37 deletions src/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -3605,43 +3605,6 @@ function websocketFn ( ws ) {
let seqNum = queuedResponseSeqNum;
queuedResponseSeqNum ++;
queuedResponses[seqNum] = ws;




// ______
// Browser --Send me your data--> Server
// ______
//
} else if (receivedMessage.message_type == "ws_browser_asks_server_for_data") {

let seqNum = queuedResponseSeqNum;
queuedResponseSeqNum ++;
queuedResponses[seqNum] = ws;



























Expand Down

0 comments on commit 5ce804d

Please sign in to comment.