I hereby claim:
- I am lunelson on github.
- I am lunelson (https://keybase.io/lunelson) on keybase.
- I have a public key ASCsx1FnyD0wK6eqcYAapRm9Yq-nZFYAbZU7ZPux2J-Vewo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
@function foo($a,$b,$c) { | |
@return $a $b $c; | |
} | |
.test { | |
$list: 1 2 3; | |
out: foo(1,2,3); | |
out: foo($list...); | |
out: call(foo, $list...); | |
out: call(join(foo, $list)...); |
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
@function slice($list, $start: 1, $end: length($list), $sep: list-separator($list)) { | |
$output: (); | |
@if $start >= 1 and $end >= $start { | |
@for $i from $start through $end { | |
$output: append($output, nth($list, $i), $sep); | |
} |
// ---- | |
// Sass (v4.0.0.alpha.1) | |
// ---- | |
/* | |
SKETCHES FOR SELECTOR MANIPULATION | |
mixins | |
@mixin adjacent-to() |
// ---- | |
// Sass (v4.0.0.alpha.1) | |
// MathSass (v0.9.5) | |
// ---- | |
@import "math"; | |
@function mod-scale($base, $exp, $spread) { | |
@return pow($base, $exp / $spread); | |
} |
// ---- | |
// Sass (v4.0.0.alpha.1) | |
// ---- | |
@mixin foo($opts: null, $bar: 1, $baz: 2, $bif: 3) { | |
@if $opts { @include foo($opts...); } @else { | |
bar: $bar; | |
baz: $baz; | |
bif: $bif; | |
} |
// ---- | |
// Sass (v4.0.0.alpha.1) | |
// ---- | |
@mixin foo($opts: null, $bar: 1, $baz: 2, $bif: 3) { | |
@if $opts { @include foo($opts...); } @else { | |
bar: $bar; | |
baz: $baz; | |
bif: $bif; | |
} |
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
// str-lastindex -- get last index of substr in string | |
@function str-last-index($str, $substr) { | |
$length: str-length($str); | |
@for $n from $length - str-length($substr) through 1 { | |
$index: str-index(str-slice($str, $n, $length), $substr); |
@function str-last-index($string, $substr) { | |
$index: null; | |
$length: str-length($string); | |
@for $n from $length through 1 { | |
$index: str-index(str-slice($string, $n, $length), $substr); | |
@if $index { @return $index + $n - 1; } | |
} | |
@return $index; | |
} |