Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build error in utils.go #2

Merged
merged 1 commit into from
May 3, 2015
Merged

Fix build error in utils.go #2

merged 1 commit into from
May 3, 2015

Conversation

ifross89
Copy link
Contributor

@ifross89 ifross89 commented May 1, 2015

Fix the build error: utils.go:79: cannot use js.Global.Get("Router").New() (type *js.Object) as type js.Object in field value.

Dereference new *js.Object to allow assignment to Router.Object field.

Fix the build error: `utils.go:79: cannot use js.Global.Get("Router").New() (type *js.Object) as type js.Object in field value`.

Dereference new `*js.Object` to allow assignment to Router.Object field.
rusco added a commit that referenced this pull request May 3, 2015
Fix build error in utils.go
@rusco rusco merged commit 97fbbf3 into gopherjs:master May 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants