Friday, July 1, 2016

Difference betwen dev and production

I have an gwt 2.7 app that wrap components in a legacy web app.
In super dev mode, every run correcty 

In production, something goes wrong and I get a syntax error in console :
Unexpected token :




Here is the line from the generated  js 

      t[1]?t[0].execute__Z() && (rescheduled = com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(rescheduled, t)):com_google_gwt_user_client_ui_Image$State: Exp $1_$execute__Lcom_google_gwt_user_client_ui_Image$State: Exp $1_2V(t[0]);

Seems to talk about an image I wrapping but I cannot understand more than that.


Thanks in advance for any help

Pierre

--
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