Skip to content

Commit

Permalink
Merge pull request #70 from jugglinmike/remove-dead-code
Browse files Browse the repository at this point in the history
Remove dead code
  • Loading branch information
Greg committed Mar 24, 2014
2 parents 2f156e1 + dc9f61c commit 90375c5
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/client/cloak.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@

var uid;
var socket;
var url;
var events = {};
var config = {};
var timerEvents = {};
var serverConfig;
var callbacks = {};

var cloak = {

Expand Down Expand Up @@ -57,9 +55,8 @@
}
},

run: function(urlArg) {
run: function(url) {

url = urlArg;
socket = io.connect(url, {
'force new connection': true
});
Expand Down Expand Up @@ -185,13 +182,6 @@
return socket.socket.connected;
},

_callback: function(name, callback) {
if (callbacks[name] === undefined) {
callbacks[name] = [];
}
callbacks[name].push(callback);
},

currentUser: function() {
return uid;
},
Expand Down

0 comments on commit 90375c5

Please sign in to comment.