* Runtime helper for v-once. * Effectively it means marking the node as static with a unique key.
( tree, index, key )
| 3526 | * Effectively it means marking the node as static with a unique key. |
| 3527 | */ |
| 3528 | function markOnce ( |
| 3529 | tree, |
| 3530 | index, |
| 3531 | key |
| 3532 | ) { |
| 3533 | markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true); |
| 3534 | return tree |
| 3535 | } |
| 3536 | |
| 3537 | function markStatic ( |
| 3538 | tree, |
nothing calls this directly
no test coverage detected