⇒ http://my.opera.com/tech-nova/blog/
Un site qui recense les astuces et évolutions des possibilités de SPIP.
Howto avoid the automatic compression of your scripts ?
Décembre 2008, par tech-novaSPIP is fantastic because it can automatically merge and compress the css and javascript files.
But sometimes it can crash our scripts (especially if some parameters are stored inside). To solve it, just change, in your template, the type of your script. Instead of « text/javascript » use « application/javascript »
<br><code class="echappe-js"><script type="application/javascript">'.$gmap_script.'</script>
<script type="application/javascript" src="'._DIR_PLUGIN_GEOMAP.'js/customControls.js"></script>
’ ;
→ Lire la suite sur le site d’origine…