Thank you, this is exactly what I was looking for. Though, I have a bit of 
a problem with passing the @JsFunction instances (regardless written as 
Java 8 lambda or more traditional implementation). The problem is that they 
are not seen the same way as JS function. In particular they don't have 
".apply()" operation and JQuery is failing on such methods. 

<https://lh3.googleusercontent.com/-VtD7rosVmJo/VSPumFYR2NI/AAAAAAAAFNk/xApHWNvRd38/s1600/apply.png>


<https://lh3.googleusercontent.com/-i8bsZ9YhYcs/VSPt8b_M9CI/AAAAAAAAFNc/cYkkeBMZz4Q/s1600/interop%2Bvs%2Bjs%2Bfunction.png>



On Friday, 3 April 2015 18:16:20 UTC+2, Jens wrote:
>
> GWT trunk supports Lambda, method references, static & default methods in 
> interfaces and intersection casts.
>
> It does not contain any Java8 API emulations so far but something like 
> button.addClickHandler((e) -> Window.alert("click")); should work.
>
> To enable Java8 you have to use the "-sourceLevel 1.8" parameter when 
> starting DevMode or CodeServer.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to