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