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