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:
| function syncToFrames(el, eventName, frameCB, postFrameCB) { | |
| let active = false; | |
| function deactivate() { active = false; } | |
| function activate() { | |
| if (!active) { | |
| setTimeout(onPostFrame); | |
| requestAnimationFrame(onFrame); |
| const parseUnit = require('parse-unit'); | |
| const colorString = require('color-string'); | |
| // this function can receive either dart-sass or node-sass as sassEngine | |
| module.exports = function(sassEngine) { | |
| return function js2sass(jsValue) { | |
| // UnitNumber | Color | String | |
| if (typeof jsValue === 'string') { | |
| const unitNumber = parseUnit(jsValue); |
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; | |
| } |