modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 1594-1602 (lines=9) @@
|
1591 |
|
} |
1592 |
|
|
1593 |
|
// make something string like into a string |
1594 |
|
protected function coerceString($value) { |
1595 |
|
switch ($value[0]) { |
1596 |
|
case "string": |
1597 |
|
return $value; |
1598 |
|
case "keyword": |
1599 |
|
return array("string", "", array($value[1])); |
1600 |
|
} |
1601 |
|
return null; |
1602 |
|
} |
1603 |
|
|
1604 |
|
// turn list of length 1 into value type |
1605 |
|
protected function flattenList($value) { |
modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 1693-1701 (lines=9) @@
|
1690 |
|
return null; |
1691 |
|
} |
1692 |
|
|
1693 |
|
protected function coerceString($value) { |
1694 |
|
switch ($value[0]) { |
1695 |
|
case "string": |
1696 |
|
return $value; |
1697 |
|
case "keyword": |
1698 |
|
return array("string", "", array($value[1])); |
1699 |
|
} |
1700 |
|
return null; |
1701 |
|
} |
1702 |
|
|
1703 |
|
public function assertList($value) { |
1704 |
|
if ($value[0] != "list") |