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:
parent
f7ed55554f
commit
01e13f5717
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user