MCPcopy Index your code
hub / github.com/TruthHun/BookStack / sameInputType

Function sameInputType

static/vuejs/vue.runtime.esm.js:4534–4540  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4532// Some browsers do not support dynamically changing type for <input>
4533// so they need to be treated as different nodes
4534function 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
4542function createKeyToOldIdx (children, beginIdx, endIdx) {
4543 var i, key;

Callers 1

sameVnodeFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected