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

Function createKeyToOldIdx

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

Source from the content-addressed store, hash-verified

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

Callers 1

updateChildrenFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected