What is $entry ? Why not just  $wnd.myJsMethod = function(str) ... ?

четверг, 21 апреля 2016 г., 9:53:57 UTC+3 пользователь Vassilis Virvilis 
написал:
>
>
>     public static native void exportJSNI(MyJavaObject that) /*-{
>         $wnd.myJsMethod = $entry(function(str) {
>             
> [email protected]::myJavaMethod((Ljava/lang/String;Z)(str, 
> index);
>         });
>
>         //... more exports if you like
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to