From 7b90325ceb8aa6fdb4680afe959927fc000bf548 Mon Sep 17 00:00:00 2001 From: bayssmekanique Date: Tue, 12 Mar 2013 13:25:24 -0700 Subject: Output Class Minify Function Change Added 2 additional MIME types to match against for JavaScript detection. --- system/core/Output.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/core/Output.php') diff --git a/system/core/Output.php b/system/core/Output.php index 25ecd496c..3320ae154 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -793,6 +793,8 @@ class CI_Output { case 'text/css': case 'text/javascript': + case 'application/javascript': + case 'application/x-javascript': $output = $this->_minify_script_style($output); -- cgit v1.2.3-24-g4f1b