>> Any reason you don't use a <script/> element in your module's gwt.xml?

How is this done ? I've no idea about this tag into the gwt.xml file




On Feb 11, 3:31 pm, Thomas Broyer <[email protected]> wrote:
> On Feb 11, 12:26 pm, obesga <[email protected]> wrote:
>
>
>
> > I want to use a javascript library - just to encode into sha256, this
> > is the urlhttp://anmar.eu.org/projects/jssha2/-into GWT code.
>
> > I have one way, using JSNI
>
> > public final class SHA256 {
>
> > public static native String doSHA256(String text) /*-{
> >        $wnd.doSha256(text);
> >     }-*/;
>
> > }
>
> > (I think that's ok )
> > as far as the js libraries are included into the host page.
>
> > ¿ Is there a way to use a ClientBundle with Javascript libraries /
> > files to inject them into GWT code ?
>
> Any reason you don't use a <script/> element in your module's gwt.xml?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to