Saturday, April 23, 2016

Re: GWT app as includable javascript library

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) {
            that.@com.my.package.MyJavaObject::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 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