You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ric 2000 <er...@gmail.com> on 2022/08/17 06:18:31 UTC

Where to find dom js

Hi all,

We use Version 5.4.6 of Tapestry.
The script select.js uses via require a library dom.js, and also zone.js
and events ja. The two latter ones are existing in modules/t5/core, but
dom.js I can't find in the tapestry-core sources.
Do you know where to find it?

Regards, Ric

Re: Where to find dom js

Posted by Ric 2000 <er...@gmail.com>.
Hi Ben,

Thanks a lot.


Cheers, Ric

Ben Weidig <be...@netzgut.net> schrieb am Mi., 17. Aug. 2022, 08:46:

> Hi Ric,
>
> the file is preprocessed as a Gradle task of Tapestry itself to support
> jquery and prototype. [1]
> The version matching your JS provider is added as "t5/core/dom" here [2]
>
> Hope this helps!
>
> Cheers
> Ben
>
> [1]
>
> https://github.com/apache/tapestry-5/blob/5.4.x/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee
> [2]
>
> https://github.com/apache/tapestry-5/blob/06de1716e6cf3085fb60b33de3d49fdfb6f05285/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java#L397
>
>
>
> On Wed, Aug 17, 2022 at 8:20 AM Ric 2000 <er...@gmail.com> wrote:
>
> > Hi all,
> >
> > We use Version 5.4.6 of Tapestry.
> > The script select.js uses via require a library dom.js, and also zone.js
> > and events ja. The two latter ones are existing in modules/t5/core, but
> > dom.js I can't find in the tapestry-core sources.
> > Do you know where to find it?
> >
> > Regards, Ric
> >
>

Re: Where to find dom js

Posted by Ben Weidig <be...@netzgut.net>.
Hi Ric,

the file is preprocessed as a Gradle task of Tapestry itself to support
jquery and prototype. [1]
The version matching your JS provider is added as "t5/core/dom" here [2]

Hope this helps!

Cheers
Ben

[1]
https://github.com/apache/tapestry-5/blob/5.4.x/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee
[2]
https://github.com/apache/tapestry-5/blob/06de1716e6cf3085fb60b33de3d49fdfb6f05285/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java#L397



On Wed, Aug 17, 2022 at 8:20 AM Ric 2000 <er...@gmail.com> wrote:

> Hi all,
>
> We use Version 5.4.6 of Tapestry.
> The script select.js uses via require a library dom.js, and also zone.js
> and events ja. The two latter ones are existing in modules/t5/core, but
> dom.js I can't find in the tapestry-core sources.
> Do you know where to find it?
>
> Regards, Ric
>