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

Function markOnce

static/vuejs/vue.esm.js:3526–3533  ·  view source on GitHub ↗

* Runtime helper for v-once. * Effectively it means marking the node as static with a unique key.

(
  tree,
  index,
  key
)

Source from the content-addressed store, hash-verified

3524 * Effectively it means marking the node as static with a unique key.
3525 */
3526function markOnce (
3527 tree,
3528 index,
3529 key
3530) {
3531 markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
3532 return tree
3533}
3534
3535function markStatic (
3536 tree,

Callers

nothing calls this directly

Calls 1

markStaticFunction · 0.70

Tested by

no test coverage detected