projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 1838-1843 (lines=6) @@
|
1835 |
|
return array('list', ' ', $current->arguments); |
1836 |
|
} |
1837 |
|
|
1838 |
|
if (isset($current->store[$name])) |
1839 |
|
return $current->store[$name]; |
1840 |
|
else { |
1841 |
|
$current = isset($current->storeParent) ? |
1842 |
|
$current->storeParent : $current->parent; |
1843 |
|
} |
1844 |
|
} |
1845 |
|
|
1846 |
|
$this->throwError("variable $name is undefined"); |
projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 1483-1487 (lines=5) @@
|
1480 |
|
if (is_null($env)) $env = $this->getStoreEnv(); |
1481 |
|
if (is_null($defaultValue)) $defaultValue = self::$defaultValue; |
1482 |
|
|
1483 |
|
if (isset($env->store[$name])) { |
1484 |
|
return $env->store[$name]; |
1485 |
|
} elseif (isset($env->parent)) { |
1486 |
|
return $this->get($name, $defaultValue, $env->parent); |
1487 |
|
} |
1488 |
|
|
1489 |
|
return $defaultValue; // found nothing |
1490 |
|
} |