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