This file contains 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
* { &, &:before, &:after { box-sizing: border-box; } } | |
a { &, &:focus, &:active { color: inherit; text-decoration: inherit; } } |
This file contains 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
{ | |
// Full list of supported options and acceptable values can be found here: | |
// https://github.com/csscomb/csscomb.js/blob/master/doc/options.md | |
"config": { | |
// Whether to add a semicolon after the last value/mixin. | |
"always-semicolon": true, | |
// Set indent for code inside blocks, including media queries and nested rules. | |
"block-indent": " ", |
This file contains 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
var browserSync = require('browser-sync').create(); | |
var gulp = require('gulp'); | |
var del = require('del'); | |
var concat = require('gulp-concat'), | |
filesize = require('gulp-filesize'), | |
gutil = require('gulp-util'), | |
order = require('gulp-order'); | |
rename = require('gulp-rename'), | |
sass = require('gulp-sass'), |
This file contains 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
// Production steps of ECMA-262, Edition 6, 22.1.2.1 | |
// Reference: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.from | |
if (!Array.from) { | |
Array.from = (function () { | |
var toStr = Object.prototype.toString; | |
var isCallable = function (fn) { | |
return typeof fn === 'function' || toStr.call(fn) === '[object Function]'; | |
}; | |
var toInteger = function (value) { | |
var number = Number(value); |
This file contains 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
/* | |
* INPUT[type='range'] Shadow Elements Selectors | |
* ============================================= * | |
http://codepen.io/long-lazuli/pen/WbyqKg * | |
*/ | |
$defaultBrowserList : webkit, moz, ms !default; | |
// this function will be used in all this script. | |
@function _contains(/* List */ $haystack, /* Any */ $needle) { | |
@if index($haystack, $needle){ |
This file contains 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
Atom Editor Configuration |
This file contains 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
.list-tree { | |
display: flex; | |
flex-direction: column; | |
flex-wrap: nowrap; | |
> .status-ignored { | |
// should probably be in a variable : | |
order: 10; | |
} | |
} |
This file contains 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
(function(_1_,_2_,_3_,_4_,_5_,_6_,_7_){_1_['GoogleAnalyticsObject']=_5_;_1_[_5_]=_1_[_5_]||function(){ | |
(_1_[_5_].q=_1_[_5_].q||[]).push(arguments)},_1_[_5_].l=1*new Date();_6_=_2_.createElement(_3_), | |
_7_=_2_.getElementsByTagName(_3_)[0];_6_.async=1;_6_.src=_4_;_7_.parentNode.insertBefore(_6_,_7_) | |
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | |
ga('create', '__YOURKEY__', 'auto'); | |
ga('send', 'pageview'); |
This file contains 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
// Use `vdom` classic JSX syntax for CK templates. | |
import Template from '@ckeditor/ckeditor5-ui/src/template'; | |
const CKTemplateFromJSX = ({elementName, attributes, children}) => new Template({ | |
tag: elementName, | |
attributes: Object.keys(attributes).filter( key => { | |
return key.indexOf('on') !== 0 |
This file contains 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
export default const UrlParser = ( urlStr ) => { | |
const $anchor = document.createElement('a') | |
$anchor.href = urlStr || window.location | |
return { | |
...Object.keys($anchor.__proto__).reduce( | |
(acc, prop) => ({ ...acc, [prop]: $anchor[prop] }), | |
{} |