Skip to content

Commit

Permalink
Improve class
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtin2025 authored Aug 6, 2017
1 parent 00ba6ca commit ce22432
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/RTLGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* @version 1.0.0
*
*/
use \CSSJanus;
class RTLGenerator {
public static $definitions = array(
'type' => 'css' // OR 'scss'
Expand All @@ -22,7 +21,7 @@ public static function generate($directory){
}
public static function make_rtl($content, $file) {
//make rtl current file
$rtl_content = CSSJanus::transform($content);
$rtl_content = \CSSJanus::transform($content);
$path = pathinfo($file);
$rtl_file = $path['dirname'].'/'.$path['filename'].'_rtl.css';
if (file_exists($rtl_file))
Expand Down

0 comments on commit ce22432

Please sign in to comment.