Minor thing with Elemental 2 DomGlobal.requestAnimationFrame

129 views
Skip to first unread message

Anders Forsell

unread,
May 9, 2017, 6:02:59 AM5/9/17
to GWT Contributors
Hi,

I found a small annoyance with DomGlobal.requestAnimationFrame in that you have to supply a function which returns an Object.

      DomGlobal.requestAnimationFrame(event -> {
        myPresenter.loadContent();
        return null;
      });

I'd like to be able to pass a void method, where should I report this?

Anders


Goktug Gokdogan

unread,
May 9, 2017, 6:30:43 PM5/9/17
to google-web-toolkit-contributors
We will soon have a github repro but right now this is the right place to report it.

It looks like closure definition is missing return definition:

Updating that should resolve the issue. Could you file a bug in closure and cc us as well?



--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/d6469b0d-43a1-4ea3-9292-7a07d7b73dd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anders Forsell

unread,
May 23, 2017, 12:03:48 PM5/23/17
to GWT Contributors
Reply all
Reply to author
Forward
0 new messages