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

Function createKeyToOldIdx

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

Source from the content-addressed store, hash-verified

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

Callers 1

updateChildrenFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected