Permalink
Browse files

fixes and modified to coding standards

  • Loading branch information...
1 parent 8b66057 commit 7deeb6982d9533e1faa2fe6eeee53319511b1a7a @kaviththiranga committed Jul 29, 2012
Showing with 8 additions and 8 deletions.
  1. +1 −1 libraries/joomla/media/combiner.php
  2. +7 −7 libraries/joomla/media/compressor/css.php
View
2 libraries/joomla/media/combiner.php
@@ -218,7 +218,7 @@ public static function combineFiles($files, $options = array(), $destination = n
$combiner->setSources($files);
- if (!empty($combiner->combine()))
+ if (!empty($combiner->_combined))
{
$force = array_key_exists('overwrite', $options) && !empty($options['overwrite']) ? $options['overwrite'] : false;
View
14 libraries/joomla/media/compressor/css.php
@@ -80,7 +80,7 @@ public function compress()
}
$this->_compressed = preg_replace('/:first-l(etter|ine)\\{/', ':first-l$1 {', $this->_compressed);
-
+
$this->_compressed = trim($this->_compressed);
$this->_compressedSize = strlen($this->_compressed);
@@ -245,19 +245,19 @@ private function _breakInToLines($source)
);
return $source;
}
-
+
/**
* Method to clear compressor data
*
* @return void
*
* @since 12.1
- */
- public function clear()
- {
+ */
+ public function clear()
+ {
parent::clear();
-
- $this->_inHack = false;
+
+ $this->_inHack = false;
}
}

0 comments on commit 7deeb69

Please sign in to comment.