From f3ce5e9b81a7241bfd3445232c9e3d2482e1ade7 Mon Sep 17 00:00:00 2001 From: Jeff Hale Date: Fri, 14 Jun 2024 09:16:50 -0400 Subject: [PATCH] comment --- docs/script.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/script.js b/docs/script.js index 14335a4a..a74a182f 100644 --- a/docs/script.js +++ b/docs/script.js @@ -17,23 +17,23 @@ function loadScript(src, onload) { return script } -function loadCommonRoom() { - const url = 'https://cdn.cr-relay.com/v1/site/5c7cdf16-fbc0-4bb8-b39e-a8c6136687b9/signals.js' - const init = () => { - window.signals = Object.assign( - [], - ['page', 'identify', 'form'].reduce(function (acc, method) { - acc[method] = function () { - signals.push([method, arguments]) - return signals - } - return acc - }, {}) - ) - } - - loadScript(url, init) -} +// function loadCommonRoom() { +// const url = 'https://cdn.cr-relay.com/v1/site/5c7cdf16-fbc0-4bb8-b39e-a8c6136687b9/signals.js' +// const init = () => { +// window.signals = Object.assign( +// [], +// ['page', 'identify', 'form'].reduce(function (acc, method) { +// acc[method] = function () { +// signals.push([method, arguments]) +// return signals +// } +// return acc +// }, {}) +// ) +// } + +// loadScript(url, init) +// } function loadAmplitude() { // TODO: Move the key and url to an env var in mintlify @@ -120,5 +120,5 @@ function loadAmplitude() { } -loadCommonRoom() +// loadCommonRoom() loadAmplitude()