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