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

ref: make Platform related content use the event system #332

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

cameronmcefee
Copy link
Contributor

I'm trying to move stuff away from using init functions because most of the JS really needs to run whenever the page updates. This moves the platform related content into the method that fires every time there's a page update or when the platform changes.

this.setAttribute('data-config-key', $(this).text());
});

$('.unsupported-hint').remove();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the one functional change I made. Since we're firing this off whenever the platform changes, we'll need to remove the previous elements so we don't keep adding them on top of one another.

@cameronmcefee cameronmcefee merged commit 14fee34 into feature/new-sdks Sep 11, 2018
@cameronmcefee cameronmcefee deleted the ref/eventful-platform-content branch September 11, 2018 20:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant