PluginProbe
MaxButtons – Create buttons / 7.13
MaxButtons – Create buttons v7.13
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / assets / libraries / scssphp / src / Formatter / Compact.php

Compact.php in MaxButtons – Create buttons 7.13, at assets/libraries/scssphp/src/Formatter/Compact.php

46 lines 789 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * SCSSPHP
4 *
5 * @copyright 2012-2018 Leaf Corcoran
6 *
7 * @license http://opensource.org/licenses/MIT MIT
8 *
9 * @link http://leafo.github.io/scssphp
10 */
11
12 namespace Leafo\ScssPhp\Formatter;
13
14 use Leafo\ScssPhp\Formatter;
15
16 /**
17 * Compact formatter
18 *
19 * @author Leaf Corcoran <leafot@gmail.com>
20 */
21 class Compact extends Formatter
22 {
23 /**
24 * {@inheritdoc}
25 */
26 public function __construct()
27 {
28 $this->indentLevel = 0;
29 $this->indentChar = '';
30 $this->break = '';
31 $this->open = ' {';
32 $this->close = "}\n\n";
33 $this->tagSeparator = ',';
34 $this->assignSeparator = ':';
35 $this->keepSemicolons = true;
36 }
37
38 /**
39 * {@inheritdoc}
40 */
41 public function indentStr()
42 {
43 return ' ';
44 }
45 }
46