Saturday, April 25, 2020

Re: (Unofficial) Elemental2 2.27 question

Hi,

Thanks for answering.

a)
children is an Element property and it returns a HTMLCollection. See here: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children
Also this issue has been brought up as a bug before but It had never bitten me personally. See here: https://github.com/google/elemental2/issues/33

b) Yes but this where I am now. I have two copies of jsinterop-annotations-2.8.2-v20191108.jar in my system.
Ok actually scratch that.
I am not 100% sure because I also don't have and IDE handly and I have reverted to 2.25
but if you care I can update to 2.27 and report If I two versions of jsinterop-annotations in my system and possibly who brings it in.

Just let me know.

Thanks again

    Vassilis
.


On Sat, Apr 25, 2020 at 12:56 PM Peter Donald <peter@realityforge.org> wrote:
On Fri, Apr 24, 2020 at 11:15 PM Vassilis Virvilis <vasvir2@gmail.com> wrote:
> I updated to Elemental 2.27 from 2.25 and
> a) Element has no children property

I haven't got an IDE handy but that is what I would expect. IIRC
Element extends Node and Node has a read only attribute childNodes ...
at least according to the spec WebIDL AFAIK. I would have to
investigate the closure externs to figure out why it used to have a
children property.

> b) it depends on jsinterop-annotations-1.0.2.jar but jsinterop-annotations-2.8.2-v20191108.jar exists. Is jsinterop-annotations-2.8.2-v20191108.jar a J2CL thing?

1.0.2 is released by google so I just preferred the use of that as I
expect other libraries would depend on this jar and having a shared
coordinate reduces the likelihood of ending up with two copies of it
in the project class path

--
Cheers,

Peter Donald

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACiKNc6famF88h-Vsjqdta%2BQ4GgtvqUJm1kLBPtxUkyeGhLyLA%40mail.gmail.com.


--
Vassilis Virvilis

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEyPinaVqxCUi-ZWscUazaUEcka40nUPjvHU6xiSg-yDxQ%40mail.gmail.com.

No comments:

Post a Comment