Skip to content

Instantly share code, notes, and snippets.

@hami9x
Created June 22, 2014 12:44
Show Gist options
  • Save hami9x/18b415c7cac33d2bf93d to your computer and use it in GitHub Desktop.
Save hami9x/18b415c7cac33d2bf93d to your computer and use it in GitHub Desktop.
Fixes

github.com/pengux/check/check.go: line 134 change to:

func (e StructError) ToMessages() map[string]map[string]string {

github.com/gopherjs/jquery.go: line 56 change to:

Length   int   `js:"length"`

line 202-207 change method Each to

func (j JQuery) Each(fn func(int, JQuery)) JQuery {
j.o = j.o.Call("each", func(idx int, elem js.Object) {
	fn(idx, NewJQuery(elem))
})
return j
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment