Sha256: fa3f560ca2177dbf6d26233d9b22cf83be49d1cfd3d19070c1c45d492776fec4
Contents?: true
Size: 1.31 KB
Versions: 12
Compression:
Stored size: 1.31 KB
Contents
3.2.9 (Media Mark) 786134f854a44d5de9764f4a1efa9e28f8593098 o:Sass::Tree::RootNode :@children[o:Sass::Tree::CommentNode :@value[I",/* Remove `false` values from a list */:ET: @type:silent;[ : @linei: @options{ o:Sass::Tree::FunctionNode: @nameI"compact; T: @args[ :@splato:Sass::Script::Variable;I" vars; T:@underscored_nameI" vars; T; { ;[o:Sass::Tree::VariableNode;I" list; T: @expro:Sass::Script::List ;[ :@separator: space;i ; @: @guarded0;[ ;i ; @o:Sass::Tree::EachNode: @varI"var; T: @listo; ;I" vars; T;I" vars; T;i ; @;[u:Sass::Tree::IfNode•[o:Sass::Script::Variable : @nameI"var:ET:@underscored_nameI"var;T: @linei: @options{ 0[o:Sass::Tree::VariableNode;I" list;T: @expro:Sass::Script::Funcall;I"append;T: @args[o; ;I" list;T;I" list;T; i; @ o; ;I"var;T;I"var;T; i; @ o:Sass::Script::String :@valueI" comma;T: @type:identifier; i; @ :@keywords{ :@splat0; i; @ : @guarded0:@children[ ; i; @ ;i :@has_childrenT; @o:Sass::Tree::ReturnNode ;o; ;I" list; T;I" list; T;i; @;[ ;i; @;i;T; @:@templateI"¾// Remove `false` values from a list @function compact($vars...) { $list: (); @each $var in $vars { @if $var { $list: append($list, $var, comma); } } @return $list; } ; T;i;T; @
Version data entries
12 entries across 12 versions & 1 rubygems