This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin hold-once($name) { | |
// if placeholder not in declared ones | |
@if not index($PLACEHOLDER__DECLARED, $name) { | |
// set placeholder as declared | |
$PLACEHOLDER__DECLARED: append($PLACEHOLDER__DECLARED, $name)!global; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="arrow"> | |
dsdasa | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assert example | |
// https://bitbucket.org/cahnory/integrate-css/src/c9c8df11cddf/libs/assert/ | |
$color: assert($color, (type: 'color', default: #333)); | |
$font-size: assert($font-size, (type: 'number', default: 14)); | |
$line-height: assert($line-height, (type: 'number', default: 1.35)); | |
$font-family: assert($font-family, (default: (Arial, sans-serif))); | |
$age: assert($age, (type: 'number', gte: 18)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="box"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="box"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="box"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin short($map, $prefix: '') { | |
@each $key, $val in $map { | |
@if 'map' == type-of($val) { | |
@include short($val, $prefix+$key+'-'); | |
} | |
@else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import connect from 'koa-connect'; | |
import compose from 'koa-compose'; | |
import webpack from 'webpack'; | |
import webpackDev from 'webpack-dev-middleware'; | |
import webpackHot from 'webpack-hot-middleware'; | |
export default function (config = {}) { | |
let compiler = webpack(config); | |
return compose([ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
export function DataSelect({ | |
children, | |
onData, | |
onChange, | |
value, | |
defaultValue, | |
...props, | |
}) { |