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