update wfa.js,
reduce clobbering of global namespaces
This commit is contained in:
4
main.go
4
main.go
@@ -7,8 +7,8 @@ import (
|
||||
|
||||
func main() {
|
||||
c := make(chan bool)
|
||||
js.Global().Set("wfAlign", js.FuncOf(wfAlign))
|
||||
js.Global().Set("DecodeCIGAR", js.FuncOf(DecodeCIGAR))
|
||||
js.Global().Get("wfa").Set("wfAlign", js.FuncOf(wfAlign))
|
||||
js.Global().Get("wfa").Set("DecodeCIGAR", js.FuncOf(DecodeCIGAR))
|
||||
<-c
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user