Skip to content

Commit

Permalink
Removing some uneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
meenie committed Mar 23, 2013
1 parent f59faa0 commit 84cb192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Munee/Asset/Filter/Css/Minify.php
Expand Up @@ -23,7 +23,6 @@ class Minify extends Filter
*/
protected $_allowedParams = array(
'minify' => array(
'alias' => 'm',
'regex' => 'true|false|t|f|yes|no|y|n',
'default' => 'false',
'cast' => 'boolean'
Expand Down
4 changes: 2 additions & 2 deletions src/Munee/Asset/Filter/JavaScript/Minify.php
Expand Up @@ -9,6 +9,7 @@
namespace Munee\Asset\Filter\JavaScript;

use Munee\Asset\Filter;
use JShrink\Minifier;

/**
* Minify Filter for JavaScript
Expand All @@ -22,7 +23,6 @@ class Minify extends Filter
*/
protected $_allowedParams = array(
'minify' => array(
'alias' => 'm',
'regex' => 'true|false|t|f|yes|no|y|n',
'default' => 'false',
'cast' => 'boolean'
Expand All @@ -43,6 +43,6 @@ public function doFilter($file, $arguments)
return;
}

file_put_contents($file, \JShrink\Minifier::minify(file_get_contents($file)));
file_put_contents($file, Minifier::minify(file_get_contents($file)));
}
}

0 comments on commit 84cb192

Please sign in to comment.