Changeset 87131 in spip-zone


Ignore:
Timestamp:
Jan 17, 2015, 9:54:18 PM (5 years ago)
Author:
p@…
Message:

Rustine: Charger app.js dans le head via ajax, mettre en cache le fichier

Location:
_plugins_/foundation-4-spip/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation-4-spip/trunk/inclure/head-foundation-app.html

    r87128 r87131  
    77[(#REM) Foundation JS ]
    88[(#CONFIG{foundation/javascript}|oui)
     9
    910[<script src="(#CHEMIN{bower_components/foundation/js/foundation.min.js})"></script>]
    10 [<script src="(#CHEMIN{js/app.js})"></script>]
     11
     12[(#REM) Rustine pour charger app.js automatiquement ]
     13[<script type="text/javascript">
     14  $.ajax({
     15    type: "GET",
     16    url: "(#CHEMIN{js/app.js}|texte_script)",
     17    dataType: "script",
     18    cache: true
     19  });
     20</script>]
    1121]
  • _plugins_/foundation-4-spip/trunk/paquet.xml

    r87130 r87131  
    1 <paquet
     1$<paquet
    22    prefix="foundation"
    33    categorie="outil"
    4     version="2.3"
     4    version="2.3.1"
    55    etat="stable"
    66    compatibilite="[3.0.8;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.