From b4f1b6a55713ff4577386bcfb674084eacda757e Mon Sep 17 00:00:00 2001 From: scottkiener-at-safelite Date: Fri, 23 Jan 2026 10:35:05 -0500 Subject: [PATCH] Add prod and modify comments Comments now accurately guide how to update code when salesforce sends new stuff --- .../salesforce-helper-dev.js | 26 ++--- .../salesforce-helper-prod.js | 97 +++++------------ .../salesforce-helper-qa.js | 102 +++++------------- .../salesforce-helper-sys.js | 25 ++--- .../salesforce-webchat/salesforce-webchat.vue | 5 +- 5 files changed, 71 insertions(+), 184 deletions(-) diff --git a/src/digital-components/salesforce-webchat/salesforce-helper-dev.js b/src/digital-components/salesforce-webchat/salesforce-helper-dev.js index bc1b75dd3..f3a50965e 100644 --- a/src/digital-components/salesforce-webchat/salesforce-helper-dev.js +++ b/src/digital-components/salesforce-webchat/salesforce-helper-dev.js @@ -1,4 +1,9 @@ /* eslint-disable */ +// *************************************************************** +// This file wraps the Salesforce generated code. +// See the comment below for where you need to paste in the Salesforce generated code. +// You may also need to modify the script tag src located in salesforce-webchat.vue to point to the correct Salesforce instance. +// *************************************************************** function setupCustomSettings( modifyEmbeddedSvcCallback, @@ -12,23 +17,6 @@ function setupCustomSettings( window.addEventListener("onEmbeddedMessagingWindowClosed", onWebchatCloseCallback); } -/* -The code below is generated from salesforce but modified in the following ways: - * Only the javascript inside the second