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

Function markOnce

static/vuejs/vue.runtime.esm.js:3522–3529  ·  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

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

Callers

nothing calls this directly

Calls 1

markStaticFunction · 0.70

Tested by

no test coverage detected