Same name in other branches
- 5.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::minify()
- 7.x-1.x advagg_js_compress/jsminplus.inc \JSMinPlus::minify()
- 7.x-2.x advagg_js_compress/jsminplus.inc \JSMinPlus::minify()
- 8.x-2.x advagg_js_minify/jsminplus.inc \JSMinPlus::minify()
- 8.x-3.x advagg_js_minify/jsminplus.inc \JSMinPlus::minify()
- 8.x-4.x advagg_js_minify/jsminplus.inc \JSMinPlus::minify()
1 call to JSMinPlus::minify()
- JsMinifier::minifyJsminplus dans advagg_js_minify/
src/ Asset/ JsMinifier.php - Minify a JS string using jsmin+.
Fichier
-
advagg_js_minify/
jsminplus.inc, line 266
Classe
Code
public static function minify($js, $filename = '') {
static $instance;
// this is a singleton
if (!$instance) {
$instance = new JSMinPlus();
}
return $instance->min($js, $filename);
}