mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 13:46:10 +02:00
[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:
parent
aadcfbb3d1
commit
6aaf4c4065
@ -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 = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user