primo commit
This commit is contained in:
50
libraries/f0f/less/formatter/compressed.php
Normal file
50
libraries/f0f/less/formatter/compressed.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* @package FrameworkOnFramework
|
||||
* @subpackage less
|
||||
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
// Protect from unauthorized access
|
||||
defined('F0F_INCLUDED') or die;
|
||||
|
||||
/**
|
||||
* This class is taken verbatim from:
|
||||
*
|
||||
* lessphp v0.3.9
|
||||
* http://leafo.net/lessphp
|
||||
*
|
||||
* LESS css compiler, adapted from http://lesscss.org
|
||||
*
|
||||
* Copyright 2012, Leaf Corcoran <leafot@gmail.com>
|
||||
* Licensed under MIT or GPLv3, see LICENSE
|
||||
*
|
||||
* @package FrameworkOnFramework
|
||||
* @since 2.0
|
||||
*/
|
||||
class F0FLessFormatterCompressed extends F0FLessFormatterClassic
|
||||
{
|
||||
public $disableSingle = true;
|
||||
|
||||
public $open = "{";
|
||||
|
||||
public $selectorSeparator = ",";
|
||||
|
||||
public $assignSeparator = ":";
|
||||
|
||||
public $break = "";
|
||||
|
||||
public $compressColors = true;
|
||||
|
||||
/**
|
||||
* Indent a string by $n positions
|
||||
*
|
||||
* @param integer $n How many positions to indent
|
||||
*
|
||||
* @return string The indented string
|
||||
*/
|
||||
public function indentStr($n = 0)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user