Wednesday, March 23, 2016

GWTQuery + GWT 2.8 : is Lambdas now supported?

Hi,
  I am just updating one internal GWTQuery + GWT app and I was wondering if Java 8 Lambdas are already supported? So you could write f.e. : 

$("#cancel_package").click( (e) -> .....);


instead of


$("#cancel_package").click(new Function() { 

public boolean f(Event e) {

......

}});


As i can see this was plan for future - http://gwtquery.github.io/gwt.create-slides/gwtcreate2015/gwtcreate2015.html#26


Regards,

  Matic

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

No comments:

Post a Comment