mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
lint: collab_client.js
This commit is contained in:
parent
b029edb931
commit
cf37f52093
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ const getSocket = () => pad && pad.socket;
|
|||
/** Call this when the document is ready, and a new Ace2Editor() has been created and inited.
|
||||
ACE's ready callback does not need to have fired yet.
|
||||
"serverVars" are from calling doc.getCollabClientVars() on the server. */
|
||||
function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad) {
|
||||
const getCollabClient = (ace2editor, serverVars, initialUserInfo, options, _pad) => {
|
||||
const editor = ace2editor;
|
||||
pad = _pad; // Inject pad to avoid a circular dependency.
|
||||
|
||||
|
@ -583,6 +583,6 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
|
|||
|
||||
setUpSocket();
|
||||
return self;
|
||||
}
|
||||
};
|
||||
|
||||
exports.getCollabClient = getCollabClient;
|
||||
|
|
Loading…
Reference in a new issue