Re: [gwt-contrib] Minor thing with Elemental 2 DomGlobal.requestAnimationFrame

2017-05-23 Thread Anders Forsell
https://github.com/google/closure-compiler/issues/2506 On Wednesday, May 10, 2017 at 12:30:43 AM UTC+2, Goktug Gokdogan wrote: > > 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: > > https://

Re: [gwt-contrib] Minor thing with Elemental 2 DomGlobal.requestAnimationFrame

2017-05-09 Thread 'Goktug Gokdogan' via GWT 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: https://github.com/google/closure-compiler/blob/master/externs/browser/w3c_anim_timing.js#L26 Updating that should resolve the issue. Could you file

[gwt-contrib] Minor thing with Elemental 2 DomGlobal.requestAnimationFrame

2017-05-09 Thread Anders Forsell
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 s