Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD] 1266-salesforce-beacon #1267

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions scripts/scripts-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,24 @@
);
}

/**
* SalesForce MCP
*/

function loadEvergageScript() {
const script = document.createElement('script');
script.src = 'https://cdn.evgnet.com/beacon/v55685555553mx3rf3h3n3n3i091550196/danaher_ls_staging/scripts/evergage.min.js';
script.onload = function() {

Check warning on line 97 in scripts/scripts-dev.js

View workflow job for this annotation

GitHub Actions / build

Unexpected unnamed function

Check failure on line 97 in scripts/scripts-dev.js

View workflow job for this annotation

GitHub Actions / build

Missing space before function parentheses
console.log('Evergage script loaded successfully.');

Check warning on line 98 in scripts/scripts-dev.js

View workflow job for this annotation

GitHub Actions / build

Unexpected console statement
};
script.onerror = function() {

Check warning on line 100 in scripts/scripts-dev.js

View workflow job for this annotation

GitHub Actions / build

Unexpected unnamed function

Check failure on line 100 in scripts/scripts-dev.js

View workflow job for this annotation

GitHub Actions / build

Missing space before function parentheses
console.error('Error loading Evergage script.');

Check warning on line 101 in scripts/scripts-dev.js

View workflow job for this annotation

GitHub Actions / build

Unexpected console statement
};
document.head.appendChild(script);
}

loadEvergageScript();

/**
* Get the Image URL from Scene7 and Optimize the picture
* @param {string} imageUrl
Expand Down
Loading
Loading