Skip to content

Commit

Permalink
remove no longer necessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 27, 2016
1 parent d111f3f commit 7f25f73
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/platforms/web/runtime/components/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ export default {
const oldRawChild = this._vnode
const oldChild: any = getRealChild(oldRawChild)

// mark v-show
// so that the transition module can hand over the control to the directive
if (child.data.directives && child.data.directives.some(d => d.name === 'show')) {
child.data.show = true
}

if (oldChild && oldChild.data && oldChild.key !== key) {
// replace old child transition data with fresh one
// important for dynamic transitions!
Expand Down

0 comments on commit 7f25f73

Please sign in to comment.