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

Function createKeyToOldIdx

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

Source from the content-addressed store, hash-verified

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

Callers 1

updateChildrenFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected