ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

GWT 2.10.0 #389

Open driesva opened 2 years ago

driesva commented 2 years ago

Any plans supporting GWT 2.10.0?

We were using version 1.5-beta1 with success together with 2.9.0 However when upgrading to 2.10.0 we notice the following issue:

[INFO]    Tracing compile failure path for type 'com.google.gwt.query.client.plugins.events.GqEvent'
[INFO]       [ERROR] Errors in 'com/google/gwt/query/client/plugins/events/GqEvent.java'
[INFO]          [ERROR] Line 75: Referencing class 'com.google.gwt.dom.client.DOMImplTrident': unable to resolve class

A workaround for IE browsers (for which support dropped in GWT 2.10.0) seems to cause the issue:

com.google.gwt.query.client.plugins.events.GqEvent

public final native void setCurrentElementTarget(Element e) /*-{
  this.currentTarget = e;

  // ie don't have a currentEventTarget field on event
  try{
    @com.google.gwt.dom.client.DOMImplTrident::currentEventTarget = e;
  }catch(e){}
}-*/;
RobertMolenda commented 1 year ago

Hi all... Seeing as that this project seemed non-supported I was in the same bucket - I'm attaching my local fixes and am currently running GWT 2.10.0 Your mileage may vary GWTQuery-updates.zip

MichaelJustin-VEDA commented 9 months ago

The fix seems to work with GWT 2.11.0.