(vnode, queue, initial)
| 4951 | } |
| 4952 | |
| 4953 | function invokeInsertHook (vnode, queue, initial) { |
| 4954 | // delay insert hooks for component root nodes, invoke them after the |
| 4955 | // element is really inserted |
| 4956 | if (isTrue(initial) && isDef(vnode.parent)) { |
| 4957 | vnode.parent.data.pendingInsert = queue; |
| 4958 | } else { |
| 4959 | for (var i = 0; i < queue.length; ++i) { |
| 4960 | queue[i].data.hook.insert(queue[i]); |
| 4961 | } |
| 4962 | } |
| 4963 | } |
| 4964 | |
| 4965 | var bailed = false; |
| 4966 | // list of modules that can skip create hook during hydration because they |
no test coverage detected