Changeset 107737 in spip-zone


Ignore:
Timestamp:
Nov 25, 2017, 8:50:46 AM (20 months ago)
Author:
p@…
Message:

Contournée https://core.spip.net/issues/4050 en appelant directement minifier_js

Location:
_plugins_/foundation_6/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/foundation_6_options.php

    r105868 r107737  
    1818        define('_REVEAL_ANIMATION_OUT', '');
    1919}
     20
     21/**
     22 * Dans le fichier javascript/spip.foundation.js.html, on utilise la fonction
     23 * minifier_js, on inclut donc directement le fichier ici
     24 */
     25include_spip('inc/compresseur_minifier');
  • _plugins_/foundation_6/trunk/foundation_6_pipelines.php

    r107467 r107737  
    4040        include_spip('inc/config');
    4141        if (lire_config('foundation_6/javascript')) {
    42                 $js = '<script async src="'.minifier(produire_fond_statique('javascript/spip.foundation.js'), 'js').'" type="text/javascript"></script>';
     42                $js = '<script async src="'.produire_fond_statique('javascript/spip.foundation.js').'" type="text/javascript"></script>';
    4343                $pos_body = strpos($flux, '</body>');
    4444
  • _plugins_/foundation_6/trunk/javascript/spip.foundation.js.html

    r107482 r107737  
    8282[(#PRODUIRE{fond=javascript/foundation_perso.js}|supprimer_timestamp|file_get_contents)]
    8383]
     84
     85#FILTRE{minifier_js}
Note: See TracChangeset for help on using the changeset viewer.