You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-06 09:29:19 +02:00
fixed jsvm example
This commit is contained in:
@@ -94,7 +94,7 @@ type Config struct {
|
|||||||
// OnInit: func(vm *goja.Runtime) {
|
// OnInit: func(vm *goja.Runtime) {
|
||||||
// // register custom bindings
|
// // register custom bindings
|
||||||
// vm.Set("myCustomVar", 123)
|
// vm.Set("myCustomVar", 123)
|
||||||
// }
|
// },
|
||||||
// })
|
// })
|
||||||
func MustRegister(app core.App, config Config) {
|
func MustRegister(app core.App, config Config) {
|
||||||
if err := Register(app, config); err != nil {
|
if err := Register(app, config); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user