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