Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ genTernaryExp
Function
genTernaryExp
static/vuejs/vue.js:8587–8589 ·
view source on GitHub ↗
(el)
Source
from the content-addressed store, hash-verified
8585
8586
// v-if with v-once should generate code like (a)?_m(0):_m(1)
8587
function
genTernaryExp (el) {
8588
return
el.once ? genOnce(el) : genElement(el)
8589
}
8590
}
8591
8592
function
genFor (el) {
Callers
1
genIfConditions
Function · 0.70
Calls
2
genOnce
Function · 0.70
genElement
Function · 0.70
Tested by
no test coverage detected