Skip to content

Commit

Permalink
Move to socket.io 1.0.x syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjwood committed Jun 4, 2014
1 parent 65059bd commit 687f5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $(function() {
maxZoom: 18
}).addTo(locationsMap);

var socket = io.connect();
var socket = io();
var pages = $("#pages");
var totalConnections = $("#totalConnections");
var mostPopularBrowser = $("#mostPopularBrowser");
Expand Down

0 comments on commit 687f5bb

Please sign in to comment.