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

remove exports thing in js generation

parent af7edeb4
No related branches found
Tags v1.3.1
No related merge requests found
...@@ -9,6 +9,5 @@ import ( ...@@ -9,6 +9,5 @@ import (
) )
func main() { func main() {
js.Module.Get("exports").Set("newRemote", client.New)
js.Global.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.
Finish editing this message first!
Please register or to comment