myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <werner.p...@gmail.com>
Subject Re: Dojo Utils addRequire bug?
Date Thu, 05 Jul 2007 21:54:51 GMT
Not really a bug, but not really neat as well I agree.
I will fix it asap.


Werner


Luca Conte schrieb:
> Hi,
> this code:
> DojoUtils.addRequire(context, component, new 
> String[]{"dojo.dnd.*","dojo.event.*", "dojo.widget.ResizeHandle"});
> 
> is translated into a sequence of 3 distinct Javascripts TAGS:
> 
>      <script type="text/javascript"><!--
> dojo.require('dojo.dnd.*');
> //--></script><script type="text/javascript"><!--
> dojo.require('dojo.event.*');
> //--></script><script type="text/javascript"><!--
> dojo.require('dojo.widget.ResizeHandle');
> //--></script>
> 
> Why not a single script? Actualy there is a waste of bytes!
> 
> bye
> 


Mime
View raw message