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

Function markOnce

static/vuejs/vue.common.js:3528–3535  ·  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

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

Callers

nothing calls this directly

Calls 1

markStaticFunction · 0.70

Tested by

no test coverage detected