gojs: backfills errno tests and updates links (#1110)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -45,7 +45,7 @@ func (v *jsVal) addFunction(method string, fn jsFn) *jsVal {
|
||||
v.functions[method] = fn
|
||||
// If fn returns an error, js.Call does a type lookup to verify it is a
|
||||
// function.
|
||||
// See https://github.com/golang/go/blob/go1.19/src/syscall/js/js.go#L389
|
||||
// See https://github.com/golang/go/blob/go1.20/src/syscall/js/js.go#L389
|
||||
v.properties[method] = fn
|
||||
return v
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user