From 01e13f5717784260cb7197ce991ae774815430b9 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Wed, 9 Oct 2024 18:27:00 +0300 Subject: [PATCH] fixed jsvm example --- plugins/jsvm/jsvm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jsvm/jsvm.go b/plugins/jsvm/jsvm.go index 01c0d9cb..3178831f 100644 --- a/plugins/jsvm/jsvm.go +++ b/plugins/jsvm/jsvm.go @@ -94,7 +94,7 @@ type Config struct { // OnInit: func(vm *goja.Runtime) { // // register custom bindings // vm.Set("myCustomVar", 123) -// } +// }, // }) func MustRegister(app core.App, config Config) { if err := Register(app, config); err != nil {