<div class="gmail_quote">On Mon, Dec 21, 2009 at 4:12 AM, Werner Punz <span dir="ltr">&lt;<a href="mailto:werner.punz@gmail.com">werner.punz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>a) The import part, the import only once facility would be nice, but does it really matter in as jim pointed out, first there is the browser cache, secondly</div><div>almost all libs have a double import blocker in its code which check for already existing data structures under their namespaces</div>
<br></blockquote><div>I just thought it would be interesting if two components that requested something like jQuery (even in different libraries) would recognize that they are both asking for the same thing and just put one of them in the head. I think that happens automatically if they happen to use the same resource name. But if they are in different JAR files, then the resource name won&#39;t be the same and a duplicate will be sent. So some sort of global identifier much be nice for the most popular libraries.<br>
<br>-Dan<br></div></div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>