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

fix: cross platform compatibility, make sure replaceWith() exists before using it #277

Merged

Conversation

ghiscoding
Copy link
Contributor

@ghiscoding ghiscoding commented Jul 30, 2024

  • fixes another cross platform compatibility issue
  • replaceWith doesn't seem to be supported in the Salesforce environment (throws an error), we can simply add checks to make sure it is a function that exists before trying to call the function

- `replaceWith` doesn't seem to be supported in the Salesforce environment, we can simply add checks to make sure it is a function that exists before trying to call the function
@ghiscoding ghiscoding changed the title fix: make sure replaceWith() exists before using it fix: cross platform compatibility, make sure replaceWith() exists before using it Jul 31, 2024
@uvarov-frontend uvarov-frontend merged commit f95e521 into uvarov-frontend:main Aug 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants