Hi,<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 12:29 PM, Anne Blankert <span dir="ltr">&lt;<a href="mailto:anne.blankert@geodan.nl">anne.blankert@geodan.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
  
  <div text="#000000" bgcolor="#ffffff">
    In the newly proposed and improved directory layout, the demo&#39;s now
    reference external libs like &lt;script
    src=&quot;../lib/...&gt;&lt;/script&gt;<br>
    I believe it is a good thing if demo&#39;s work out of the box, no
    additional readme&#39;s, install.txt or conversions of .sh to .bat,
    downloads etc.<br>
    <br>
    Is there a good reason for the demo&#39;s not to reference online
    libraries?<br>
    <br>
    So instead of:<br>
      &lt;script src=&quot;../lib/openlayers/OpenLayers.js&quot;
    type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br>
      &lt;script src=&quot;../lib/jquery/jquery-1.4.3.js&quot;
    type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br>
      &lt;script src=&quot;../lib/jquery/ui/jquery-ui.js&quot;
    type=&quot;text/javascript&quot;&gt;&lt;/script&gt; <br>
    <br>
    Maybe use:<br>
    &lt;script type=&quot;text/javascript&quot;
    src=<a href="http://openlayers.org/api/2.10/OpenLayers.js" target="_blank">&quot;http://openlayers.org/api/2.10/OpenLayers.js&quot;</a>&gt;&lt;/script&gt;<br>
    &lt;script type=&quot;text/javascript&quot;
src=<a href="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" target="_blank">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js&quot;</a>&gt;&lt;/script&gt;<br>
    &lt;script type=&quot;text/javascript&quot;
src=<a href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" target="_blank">&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js&quot;</a>&gt;&lt;/script&gt;<br>
    <br>
    ? <br>
    <br>
    From the version numbers in the path names to the libs, users can
    see with wich version of the external libs MapQuery is supposed to
    work.<br>
    <br>
    Anne<div><div></div><div class="h5"><br></div></div></div></blockquote><div><br></div><div>+ 1</div><div><br></div><div>Maybe then there should be a common directory used for per-developer html demos, which would be added to .gitignore? Let&#39;s say something like &quot;demo-internal&quot; where everyone can keep his/her files for development demos without accidentely including them in an commit? Once the demo moves into the demo folder, it would be required to use the online versions of OL, jQuery and so on?</div>
<div><br></div><div>Cheers,</div><div>  C</div></div>