Skip to content

Conversation

@ktsn
Copy link
Member

@ktsn ktsn commented Nov 18, 2016

In the environment of Babel + Decorator, decorated class properties are treated as enumerable even if we does not set initial value. That causes unexpected initialization of data, reported on #31

I've just added undefined check in the data collection process.

@yyx990803 yyx990803 merged commit 941bef4 into vuejs:master Nov 18, 2016
@ktsn ktsn deleted the babel-decorator branch November 18, 2016 14:44
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