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

feat: predefine loading of sampleRUM.enhance() #105

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

kptdobe
Copy link
Contributor

@kptdobe kptdobe commented Oct 17, 2024

In the current setup, the project requires to call sampleRUM.enhance() in order for the enhancer to get loaded. If the line disappears or is forgotten, enhancer is never loaded. Moving call in the lib would solve that problem.

Compared to current implementation, this moves the enhancer loading slightly later (after async font loading) which should not change anything.

Copy link
Contributor

@chicharr chicharr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kptdobe kptdobe merged commit 859ff60 into main Oct 17, 2024
4 checks passed
@kptdobe kptdobe deleted the predefine-enhance branch October 17, 2024 12:35
adobe-bot pushed a commit that referenced this pull request Oct 17, 2024
# [2.7.0](v2.6.1...v2.7.0) (2024-10-17)

### Features

* predefine loading of sampleRUM.enhance() ([#105](#105)) ([859ff60](859ff60))
@adobe-bot
Copy link

🎉 This PR is included in version 2.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants