MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / mapNodeRange

Function mapNodeRange

06.Router/basic/js/vue.js:1479–1487  ·  view source on GitHub ↗

* Map a function to a range of nodes . * * @param {Node} node * @param {Node} end * @param {Function} op

(node, end, op)

Source from the content-addressed store, hash-verified

1477 */
1478
1479 function mapNodeRange(node, end, op) {
1480 var next;
1481 while (node !== end) {
1482 next = node.nextSibling;
1483 op(node);
1484 node = next;
1485 }
1486 op(end);
1487 }
1488
1489 /**
1490 * Remove a range of nodes with transition, store

Callers 3

removeNodeRangeFunction · 0.70
multiBeforeFunction · 0.70
insertFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected