Hi Everyone

I am working on the migration of tapestry5-jQuery, and I have one question
about the new JavaScript layer.

I have declared few RequireJS modules in my jQueryModule class (
https://github.com/got5/tapestry5-jquery/blob/5.4/src/main/java/org/got5/tapestry5/jquery/services/JQueryModule.java).
And we will find these modules in the requirejs.config object in the
generated HTML. Event if we do not use these modules in the page. Is it
normal ? Can we include these modules just if they are used in the page ?

I think it can be possible only for modules loaded on the server-side
(javascriptSupport.require(...)). But for those defined on the client side,
I do not how we can do that.

Manu





-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Reply via email to