gopherjs / jquery

GopherJS Bindings for jQuery
BSD 3-Clause "New" or "Revised" License
105 stars 18 forks source link

"IsUndefined()" replaced by "== js.Undefined", as in gopherjs/js/js.go #3

Closed xthezealot closed 9 years ago

xthezealot commented 9 years ago

The js.Object.IsUndefined() function has been deprecated 2 days ago in the gopherjs/js package, in favor of a comparison to js.Undefined.

This gopherjs/jquerypackage is broken because of that, giving the following errors:

github.com/gopherjs/jquery/jquery.go:320:5: invalid operation: attr (variable of type github.com/gopherjs/gopherjs/js.Object) has no field or method IsUndefined
github.com/gopherjs/jquery/jquery.go:549:5: invalid operation: result (variable of type github.com/gopherjs/gopherjs/js.Object) has no field or method IsUndefined