<p dir="auto">Hi there, this is my first time reporting a issue in github  :p</p>
<p dir="auto">I got the following error:<br>
(Uncaught TypeError: o.fn.apply is not a function(anonymous function) @ vue.js?3de6:1574</p>
<p dir="auto">I tried to trace the error and it seems it's caused by the updateListeners function @ vue.js line 1548.<br>
I suspect that there's a mistake made in line 1548, setting<br>
<code class="notranslate">old.fn = cur</code></p>
<p dir="auto">this cause the listener.fn having infinite recursive object.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4320720/18207880/a6f43bf2-715f-11e6-82e7-0a31368237e7.png"><img src="https://cloud.githubusercontent.com/assets/4320720/18207880/a6f43bf2-715f-11e6-82e7-0a31368237e7.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Vue.js version</h3>
<p dir="auto">2.0.0-rc.4</p>
<h3 dir="auto">Reproduction Link</h3>
<p dir="auto">i am in the midst of writing a complicated set of form components and came across this bug after latest rc4 update.<br>
I am not sure how to reproduce... really sorry about that</p>
<p dir="auto">I reported the <a href="https://github.com/vuejs/vue/issues/3518" data-hovercard-type="issue" data-hovercard-url="/vuejs/vue/issues/3518/hovercard">same issue for <code class="notranslate">v-if</code></a> which got fixed in <code class="notranslate">vue@2.0.0-rc.4</code>. However, with this version the same code using <code class="notranslate">v-show</code> – which previously worked perfectly – does not work anymore.</p>
<h3 dir="auto">Vue.js version</h3>
<p dir="auto">2.0.0-rc.4</p>
<h3 dir="auto">Reproduction Link</h3>
<p dir="auto"><a href="http://codepen.io/analog-nico/pen/KgPKRq" rel="nofollow">http://codepen.io/analog-nico/pen/KgPKRq</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Click the link "Open popup using v-show"</li>
<li>A badly designed popup opens</li>
<li>Click the "Close" link</li>
</ol>
<h3 dir="auto">What is Expected?</h3>
<ul dir="auto">
<li>The popup closes successfully</li>
</ul>
<h3 dir="auto">What is actually happening?</h3>
<ul dir="auto">
<li>Vue fails to call an internal function and throws: <code class="notranslate">TypeError: o.fn is not a function. (In 'o.fn(ev)', 'o.fn' is an instance of Object)</code></li>
<li>The <code class="notranslate">closePopupUsingVShow</code> function attached to the "Close" link's click event never gets called.</li>
<li>The popup does not close.</li>
</ul>
<p dir="auto">For reference the codepen contains the exact same implementation of the popup with the only difference that it uses <code class="notranslate">v-if</code> instead of <code class="notranslate">v-show</code> to show/hide the popup. <code class="notranslate">v-if</code> works perfectly.</p>