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