Skip to content

Move $decoratorQueue under each component constructor (fix #104) #110

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

Merged
merged 2 commits into from
Jun 28, 2017

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Jun 25, 2017

Using $decoratorQueue as a singleton sometimes causes a problem that a property decorator is applied to incorrect component as described in #104.

This PR moves $decoratorQueue into each component constructor and ensures to apply property decorators to the target constructor.

In addition, I've added a test runner script for development.

@ktsn ktsn requested a review from HerringtonDarkholme June 25, 2017 18:38
Copy link
Member

@HerringtonDarkholme HerringtonDarkholme left a comment

Choose a reason for hiding this comment

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

Also ping @kaorun343

@ktsn
Copy link
Member Author

ktsn commented Jun 28, 2017

@kaorun343 Any comments?

@kaorun343
Copy link
Contributor

@ktsn No problem 👍

@ktsn
Copy link
Member Author

ktsn commented Jun 28, 2017

@kaorun343 @HerringtonDarkholme Thanks!

@ktsn ktsn merged commit f060f7d into master Jun 28, 2017
@ktsn ktsn deleted the fix-decorator-queue branch June 28, 2017 04:11
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.

3 participants