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

Simplified logic for rendering plugins in the tota11y toolbar #46

Merged
merged 6 commits into from
Jul 25, 2015

Conversation

jdan
Copy link
Owner

@jdan jdan commented Jul 21, 2015

Hey @MichelleTodd || @rileyjshaw,

Previously, tota11y used a strange mechanism for mounting plugins to the toolbar and switching between them on user interaction. After the JSX fun was added in #42, I wanted to try to make plugin rendering more explicit.

This changeset moves the logic for activating/deactivating plugins from the plugins themselves and into the Toolbar module. This allowed me to remove the weird event listener mechanism and swap it for a more straightforward handlePluginClick method.

This was referenced Jul 22, 2015
@jdan jdan force-pushed the plugin-rendering branch from ed022b6 to 374754e Compare July 24, 2015 15:18
jdan added a commit that referenced this pull request Jul 25, 2015
Simplified logic for rendering plugins in the tota11y toolbar
@jdan jdan merged commit ecba367 into master Jul 25, 2015
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