1 <?php
2 /**
3 * @package FrameworkOnFramework
4 * @subpackage less
5 * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
6 * @license GNU General Public License version 2 or later; see LICENSE.txt
7 */
8 // Protect from unauthorized access
9 defined('FOF_INCLUDED') or die;
10
11 /**
12 * This class is taken verbatim from:
13 *
14 * lessphp v0.3.9
15 * http://leafo.net/lessphp
16 *
17 * LESS css compiler, adapted from http://lesscss.org
18 *
19 * Copyright 2012, Leaf Corcoran <leafot@gmail.com>
20 * Licensed under MIT or GPLv3, see LICENSE
21 *
22 * @package FrameworkOnFramework
23 * @since 2.0
24 */
25 class FOFLessFormatterCompressed extends FOFLessFormatterClassic
26 {
27 public $disableSingle = true;
28
29 public $open = "{";
30
31 public $selectorSeparator = ",";
32
33 public $assignSeparator = ":";
34
35 public $break = "";
36
37 public $compressColors = true;
38
39 /**
40 * Indent a string by $n positions
41 *
42 * @param integer $n How many positions to indent
43 *
44 * @return string The indented string
45 */
46 public function indentStr($n = 0)
47 {
48 return "";
49 }
50 }
51