5,7 → 5,9 |
import com.google.gwt.ajaxloader.client.AjaxLoader; |
import com.google.gwt.ajaxloader.client.AjaxLoader.AjaxLoaderOptions; |
import com.google.gwt.core.client.EntryPoint; |
import com.google.gwt.core.client.GWT; |
import com.google.gwt.user.client.Timer; |
import com.google.gwt.user.client.Window; |
import com.gwtext.client.core.Ext; |
import com.gwtext.client.widgets.Viewport; |
|
20,10 → 22,10 |
@Override |
public void onModuleLoad() { |
|
|
/* |
// A décommenter + compiler en detailed dans le cas d'une erreur |
// survernant uniquement sur le serveur |
/*GWT.setUncaughtExceptionHandler(null); |
GWT.setUncaughtExceptionHandler(null); |
GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() { |
@Override |
public void onUncaughtException(Throwable e) { |
32,8 → 34,8 |
Window.alert(s); |
e.printStackTrace(); |
} |
});*/ |
|
}); |
*/ |
// TODO: config devrait ĂȘtre un singleton |
Configuration config = new Configuration(); |
|
90,5 → 92,11 |
} |
} |
return log; |
}*/ |
}*/ |
|
public static native void LogVersFirebug(Object o) /*-{ |
if (!!($wnd.console && $wnd.console.log)) { |
console.log(o); |
} |
}-*/; |
} |