Skip to content

Multiple event listeners in element extension causes an error #652

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

Closed
Jabher opened this issue Dec 22, 2014 · 1 comment
Closed

Multiple event listeners in element extension causes an error #652

Jabher opened this issue Dec 22, 2014 · 1 comment

Comments

@Jabher
Copy link

Jabher commented Dec 22, 2014

http://jsfiddle.net/s91o0w7m/
Something like

Vue.extend({
events: {broadcast: 'parser1'}
}).extend({
events: {broadcast: 'parser2'}
})

fails during init.
This happens due to https://github.com/yyx990803/vue/blame/master/src/util/merge-option.js#L174
parent is not an array, however it is expected to be an array.

yyx990803 added a commit that referenced this issue Dec 23, 2014
@yyx990803
Copy link
Member

Thanks!

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

No branches or pull requests

2 participants