if (value === null || value === undefined) {
return null;
} else {
+ // $entry not needed as function is not exported
return @java.lang.Boolean::valueOf(Z)(value);
}
}-*/;
if (value === null || value === undefined) {
return null;
} else {
+ // $entry not needed as function is not exported
return @java.lang.Integer::valueOf(I)(value);
}
}-*/;
*/
public native static void registerCallback(String widgetsetName)
/*-{
- var callbackHandler = @com.vaadin.terminal.gwt.client.ApplicationConfiguration::startApplication(Ljava/lang/String;);
+ var callbackHandler = $entry(@com.vaadin.terminal.gwt.client.ApplicationConfiguration::startApplication(Ljava/lang/String;));
$wnd.vaadin.registerWidgetset(widgetsetName, callbackHandler);
}-*/;
native void hookEvents(com.google.gwt.dom.client.Element iframe,
VUpload upload)
/*-{
- iframe.onload = function() {
+ iframe.onload = $entry(function() {
upload.@com.vaadin.terminal.gwt.client.ui.upload.VUpload::onSubmitComplete()();
- };
+ });
}-*/;
/**
@Override
native void hookEvents(Element iframe, VUpload upload)
/*-{
- iframe.onreadystatechange = function() {
+ iframe.onreadystatechange = $entry(function() {
if (iframe.readyState == 'complete') {
upload.@com.vaadin.terminal.gwt.client.ui.upload.VUpload::onSubmitComplete()();
}
- };
+ });
}-*/;
@Override