Skip to content

Commit

Permalink
removed some WIFI relevant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Skov Jørgensen committed Nov 11, 2016
1 parent 699734d commit 74750a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 3dmap-master/js/WSClient/wsClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,17 +277,19 @@ var wifiVisualizationClient = (function(){

return {
setup: function(city){
/*
socket = io.connect(url);
console.log(city);
addEventHandlers();
if(socket!=null){
socket.emit('join',{room:city});
}
*/
},

end: function(){
if(socket!=null){
if(socket!=undefined){
socket.emit('leave',{room:city});
io.disconnect();
}
Expand Down

0 comments on commit 74750a1

Please sign in to comment.