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

Function createKeyToOldIdx

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

Source from the content-addressed store, hash-verified

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

Callers 1

updateChildrenFunction · 0.70

Calls 1

isDefFunction · 0.70

Tested by

no test coverage detected