Skip to content
Snippets Groups Projects
Commit 63305ef6 authored by Ophestra's avatar Ophestra
Browse files

global set thing

parent 4c8899ca
Branches
Tags
No related merge requests found
...@@ -10,4 +10,5 @@ import ( ...@@ -10,4 +10,5 @@ import (
func main() { func main() {
js.Module.Get("exports").Set("newRemote", client.New) js.Module.Get("exports").Set("newRemote", client.New)
js.Global.Set("newRemote", client.New)
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment