[collab_client] remove keys function, which was not used and variable reconnectTimes which was used for some long gone disconnect tracking code

This commit is contained in:
webzwo0i 2013-12-08 17:30:25 +01:00
parent aadcfbb3d1
commit 6aaf4c4065

View file

@ -54,7 +54,6 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
var userSet = {}; // userId -> userInfo
userSet[userId] = initialUserInfo;
var reconnectTimes = [];
var caughtErrors = [];
var caughtErrorCatchers = [];
var caughtErrorTimes = [];
@ -501,16 +500,6 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
}
}
function keys(obj)
{
var array = [];
$.each(obj, function(k, v)
{
array.push(k);
});
return array;
}
function valuesArray(obj)
{
var array = [];