Out of curiosity, have you guys tried gwt-query promises? they have the
same syntax than jQuery ones, and work in browser and server sides.
You can see how them work in these slides:
http://slides.gquery.org/gwtcreate/gwtcreate.html#18


On Thu, Jun 12, 2014 at 2:46 PM, Jens <[email protected]> wrote:

> I have written a Promise library that uses native promises of the browser
> if possible and emulated promises otherwise. I had the same problem for
> native promises. I think it is forbidden to define a function with a name
> "catch" as it is a keyword however browsers have cheated on that in case of
> native promises.
>
> In my case I could workaround it by using this["catch"](..) instead of
> this.catch(...). Maybe thats possible in your case too.
>
>
> -- 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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