(a, b)
| 4528 | // Some browsers do not support dynamically changing type for <input> |
| 4529 | // so they need to be treated as different nodes |
| 4530 | function sameInputType (a, b) { |
| 4531 | if (a.tag !== 'input') { return true } |
| 4532 | var i; |
| 4533 | var typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type; |
| 4534 | var typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type; |
| 4535 | return typeA === typeB |
| 4536 | } |
| 4537 | |
| 4538 | function createKeyToOldIdx (children, beginIdx, endIdx) { |
| 4539 | var i, key; |