Browse Source

improve:add local variable declaration (#5462)

dev
laoxiong 8 years ago
committed by Evan You
parent
commit
3b4d16b032
  1. 1
      src/core/vdom/patch.js

1
src/core/vdom/patch.js

@ -327,6 +327,7 @@ export function createPatchFunction (backend) {
function removeAndInvokeRemoveHook (vnode, rm) {
if (isDef(rm) || isDef(vnode.data)) {
let i
const listeners = cbs.remove.length + 1
if (isDef(rm)) {
// we have a recursively passed down rm callback

Loading…
Cancel
Save