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

Apply listeners in constructor rather than ready #4985

Merged
merged 2 commits into from
Dec 15, 2017
Merged

Conversation

sorvell
Copy link
Contributor

@sorvell sorvell commented Dec 12, 2017

Fixes #4394. This change allows elements to have "first crack" at their own events (via the listeners object) before handlers registered via on-* see events. This is both more expected and fixes an inconsistency with 1.x.

Fixes #4394. This change allows elements to have "first crack" at their own events (via the `listeners` object) before handlers registered via `on-*` see events. This is both more expected and fixes an inconsistency with 1.x.
Copy link
Member

@kevinpschaaf kevinpschaaf left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinpschaaf kevinpschaaf merged commit 84abed1 into master Dec 15, 2017
@kevinpschaaf kevinpschaaf deleted the event-order branch December 15, 2017 01:55
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.

paper-button.active behaves differently in 1.x and 2.x
4 participants