From d4b6cbc897af19cc4e9f150a7d9898bf4d46be8c Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 17 Feb 2021 16:24:47 +0000 Subject: [PATCH] line: broadcast.js --- src/static/js/broadcast.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/js/broadcast.js b/src/static/js/broadcast.js index 1d35884b3..26370f6b5 100644 --- a/src/static/js/broadcast.js +++ b/src/static/js/broadcast.js @@ -33,7 +33,7 @@ const hooks = require('./pluginfw/hooks'); // These parameters were global, now they are injected. A reference to the // Timeslider controller would probably be more appropriate. -function loadBroadcastJS(socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, BroadcastSlider) { +const loadBroadcastJS = (socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, BroadcastSlider) => { let goToRevisionIfEnabledCount = 0; let changesetLoader = undefined; @@ -488,6 +488,6 @@ function loadBroadcastJS(socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, Bro receiveAuthorData(clientVars.collab_client_vars.historicalAuthorData); return changesetLoader; -} +}; exports.loadBroadcastJS = loadBroadcastJS;