(a, b)
| 5801 | var hooks = ['create', 'activate', 'update', 'remove', 'destroy']; |
| 5802 | |
| 5803 | function sameVnode (a, b) { |
| 5804 | return ( |
| 5805 | a.key === b.key && ( |
| 5806 | ( |
| 5807 | a.tag === b.tag && |
| 5808 | a.isComment === b.isComment && |
| 5809 | isDef(a.data) === isDef(b.data) && |
| 5810 | sameInputType(a, b) |
| 5811 | ) || ( |
| 5812 | isTrue(a.isAsyncPlaceholder) && |
| 5813 | a.asyncFactory === b.asyncFactory && |
| 5814 | isUndef(b.asyncFactory.error) |
| 5815 | ) |
| 5816 | ) |
| 5817 | ) |
| 5818 | } |
| 5819 | |
| 5820 | function sameInputType (a, b) { |
| 5821 | if (a.tag !== 'input') { return true } |
no test coverage detected