Skip to content

Commit 7c22d88

Browse files
author
Arthur White
committed
Fix #19 syntax error
1 parent 84aec34 commit 7c22d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func (j JQuery) Each(fn func(int, interface{})) JQuery {
211211
}
212212

213213
func (j JQuery) Call(name string, args ...interface{}) JQuery {
214-
return NewJQuery( j.o.Call(name, args...) )
214+
return NewJQuery(j.o.Call(name, args...))
215215
}
216216

217217
func (j JQuery) Underlying() *js.Object {
@@ -502,7 +502,7 @@ func (j JQuery) SetWidth(i interface{}) JQuery {
502502
return j
503503
}
504504

505-
func (j JQuery) Index(i interface{}...) int {
505+
func (j JQuery) Index(i interface{}) int {
506506
return j.o.Call("index", i).Int()
507507
}
508508

0 commit comments

Comments
 (0)