Changeset 51706 in spip-zone


Ignore:
Timestamp:
Sep 22, 2011, 4:57:15 PM (8 years ago)
Author:
cedric@…
Message:

Quand le compresseur est la, compacter/minifier les js/css de codemirror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/skeleditor/trunk/inc/skeleditor_codemiror.php

    r51704 r51706  
    121121                . "<script src='".find_in_path("javascript/codemirror_init.js")."' type='text/javascript'></script>\n";
    122122
     123        // compresser le tout si possible !
     124        if (include_spip('compresseur_fonctions')
     125                AND function_exists('compacte_head'))
     126                $script = compacte_head($script);
     127
    123128        return $script;
    124129}
Note: See TracChangeset for help on using the changeset viewer.