• Richard Musiol's avatar
    syscall/js: rename js.Callback to js.Func · 7d9649bf
    Richard Musiol authored
    The name "Callback" does not fit to all use cases of js.Callback.
    This commit changes its name to Func. Accordingly NewCallback
    gets renamed to FuncOf, which matches ValueOf and TypedArrayOf.
    
    The package syscall/js is currently exempt from Go's compatibility
    promise and js.Callback is already affected by a breaking change in
    this release cycle. See #28711 for details.
    
    Fixes #28711
    
    Change-Id: I2c380970c3822bed6a3893909672c15d0cbe9da3
    Reviewed-on: https://go-review.googlesource.com/c/153559
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    7d9649bf
Name
Last commit
Last update
..
android Loading commit data...
arm Loading commit data...
cgo Loading commit data...
chrome/gophertool Loading commit data...
git Loading commit data...
ios Loading commit data...
linkcheck Loading commit data...
nacl Loading commit data...
sortac Loading commit data...
swig Loading commit data...
trace Loading commit data...
wasm Loading commit data...
benchcmp Loading commit data...
editors Loading commit data...