File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -534,8 +534,7 @@ protected function cssPipeline()
534534 {
535535 // If a custom minifier has been set use it, otherwise fallback to default
536536 $ minifier = (isset ($ this ->css_minifier )) ? $ this ->css_minifier : function ($ buffer ) {
537- $ min = new \CSSmin ();
538- return $ min ->run ($ buffer );
537+ return \Minify_CSSmin::minify ($ buffer );
539538 };
540539
541540 return $ this ->pipeline ($ this ->css , '.css ' , $ this ->css_dir , $ minifier );
@@ -550,7 +549,7 @@ protected function jsPipeline()
550549 {
551550 // If a custom minifier has been set use it, otherwise fallback to default
552551 $ minifier = (isset ($ this ->js_minifier )) ? $ this ->js_minifier : function ($ buffer ) {
553- return \JSMin::minify ($ buffer );
552+ return \JSMin \JSMin ::minify ($ buffer );
554553 };
555554
556555 return $ this ->pipeline ($ this ->js , '.js ' , $ this ->js_dir , $ minifier );
You can’t perform that action at this time.
0 commit comments