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

Function markOnce

static/vuejs/vue.runtime.common.js:3524–3531  ·  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

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

Callers

nothing calls this directly

Calls 1

markStaticFunction · 0.70

Tested by

no test coverage detected