summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbayssmekanique <bayssmekanique@live.com>2013-03-12 21:25:24 +0100
committerbayssmekanique <bayssmekanique@live.com>2013-03-12 21:25:24 +0100
commit7b90325ceb8aa6fdb4680afe959927fc000bf548 (patch)
tree5d5f50c2ac75f372e284a1ec0de7614cea87c538
parent219565d05f6b223c28e24422b9d244b201890699 (diff)
Output Class Minify Function Change
Added 2 additional MIME types to match against for JavaScript detection.
-rw-r--r--system/core/Output.php2
1 files changed, 2 insertions, 0 deletions
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);