You are here

function sassy_compass___compass_list_slice in Sassy 7.2

Same name and namespace in other branches
  1. 7.3 sassy_compass/functions/lists.inc \sassy_compass___compass_list_slice()

File

extensions/compass/functions/lists.inc, line 84

Code

function sassy_compass___compass_list_slice($list, $start, $end) {
  $args = func_get_args();
  $end = array_pop($args);
  $start = array_pop($args);
  $list = sassy_compass__list($args, ',');
  return implode(',', array_slice($list, $start, $end));
}