function sassy_compass__append_selector in Sassy 7.3
Same name and namespace in other branches
- 7.2 extensions/compass/functions/selectors.inc \sassy_compass__append_selector()
File
- sassy_compass/
functions/ selectors.inc, line 22
Code
function sassy_compass__append_selector($initial, $new) {
$list = explode(',', $initial);
foreach ($list as $k => $selector) {
$list[$k] = trim($selector) . $new;
}
return new SassString(implode(', ', $list));
}