I get a compile error when I try to create a Javascript function in the
global namespace:
public static native void sirLancelot() /*-{
var $wnd.isWitch = function (x){
return equalWeight(x, duck)
};
}-*/;
It says I'm "missing ; before statement" but I'm pretty sure that's valid
syntax. Is there some other way I'm supposed to declare javascript
functions callable by other javascript?
~Carver
http://slique.com - builds group memory by putting all your group's email,
files and documents in one place
I'm not being curt, I'm just using http://five.sentenc.es/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---