MCPcopy Create free account
hub / github.com/TruthHun/BookStack / createKeyToOldIdx

Function createKeyToOldIdx

static/vuejs/vue.runtime.js:4538–4546  ·  view source on GitHub ↗
(children, beginIdx, endIdx)

Source from the content-addressed store, hash-verified

4536}
4537
4538function createKeyToOldIdx (children, beginIdx, endIdx) {
4539 var i, key;
4540 var map = {};
4541 for (i = beginIdx; i <= endIdx; ++i) {
4542 key = children[i].key;
4543 if (isDef(key)) { map[key] = i; }
4544 }
4545 return map
4546}
4547
4548function createPatchFunction (backend) {
4549 var i, j;

Callers 1

updateChildrenFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected