1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-18 05:37:49 +02:00

fixed jsvm example

This commit is contained in:
Gani Georgiev 2024-10-09 18:27:00 +03:00
parent f7ed55554f
commit 01e13f5717

View File

@ -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 {