Changeset 93788 in spip-zone


Ignore:
Timestamp:
Dec 17, 2015, 11:23:54 PM (4 years ago)
Author:
p@…
Message:

Utilier $.getScript plutôt que la déclaration complète

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/inclure/head-foundation.html

    r93784 r93788  
    1313[(#CONFIG{foundation_6/javascript}|oui)
    1414[<script type="text/javascript">
    15   $(function () {
    16     $.ajax({
    17       type: "GET",
    18       url: "(#CHEMIN{lib/foundation-6/js/vendor/what-input.min.js}|texte_script)",
    19       dataType: "script",
    20       cache: true
    21     });
    22   });
     15  $.getScript("(#CHEMIN{lib/foundation-6/js/vendor/what-input.min.js})")
    2316</script>]
    2417[<script src="(#CHEMIN{lib/foundation-6/js/foundation.js})"></script>]
Note: See TracChangeset for help on using the changeset viewer.