diff --git a/inst/examples/vue_component_examples.R b/inst/examples/vue_component_examples.R index 2736752..7b9b4fa 100644 --- a/inst/examples/vue_component_examples.R +++ b/inst/examples/vue_component_examples.R @@ -193,7 +193,7 @@ tl_tree <- tagList( "@check-change" = "handleCheckChange" ) ), - tags$pre("{{checkedNodes.map(d=>d.name) | json}}") + tags$pre("{{checkedNodes.map(function(d){return d.name}) | json}}") ), vue( list(