Permalink
Browse files

Removing some uneeded code

  • Loading branch information...
meenie committed Mar 23, 2013
1 parent f59faa0 commit 84cb192416e1b520063e2b8fb3f625e10eb8136a
Showing with 2 additions and 3 deletions.
  1. +0 −1 src/Munee/Asset/Filter/Css/Minify.php
  2. +2 −2 src/Munee/Asset/Filter/JavaScript/Minify.php
@@ -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'
@@ -9,6 +9,7 @@
namespace Munee\Asset\Filter\JavaScript;
use Munee\Asset\Filter;
use JShrink\Minifier;
/**
* Minify Filter for JavaScript
@@ -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'
@@ -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.