See also 📰 Dead simple tweetable JavaScript PubSub pattern module using Set (ES2015) which this package uses.
Chrome* | Edge | FF | IE | Opera | Safari | iOS |
---|---|---|---|---|---|---|
38 | 12 | 13 | -* | 25 | 7.1 | 8 |
Notes:
See also 📰 Dead simple tweetable JavaScript PubSub pattern module using Set (ES2015) which this package uses.
Chrome* | Edge | FF | IE | Opera | Safari | iOS |
---|---|---|---|---|---|---|
38 | 12 | 13 | -* | 25 | 7.1 | 8 |
Notes:
###Fluid properties (via)
@mixin fp($property, $min, $max, $start: 320, $end: breakpoint('desktop'), $clip: true, $clipAtStart: true, $clipAtEnd: true) {
$start: $start / ($start * 0 + 1);
$end: $end / ($end * 0 + 1);
$multiplier: ($max - $min) / ($end - $start) * 100;
$adder: ($min * $end - $max * $start) / ($end - $start);
$formula: calc(#{$multiplier + 0vw} + #{$adder + 0px});
@if $clip and $clipAtStart {
@media (max-width: #{$start + 0px}) {
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
'use strict' | |
require('now-env') | |
const Twit = require('twit') | |
const Task = require('data.task') | |
const Maybe = require('data.maybe') | |
const bot = new Twit({ | |
consumer_key: process.env.CONSUMER_KEY, | |
consumer_secret: process.env.CONSUMER_SECRET, | |
access_token: process.env.ACCESS_TOKEN, |
git ls-files | grep \\.js$ | xargs wc -l |
/* | |
* Implement the following classic FP functions using | |
* _only_ Array.prototype.{reduce|reduceRight}(). 🤓 | |
*/ | |
const filter = f => xs => xs | |
const map = f => xs => xs | |
const every = f => xs => xs |
// Ultimate version | |
const curry = (f, ...args) => | |
f.length <= args.length | |
? f(...args) | |
: x => curry(f, ...args, x) |
{ | |
"presets": [ | |
"@babel/preset-react", | |
[ | |
"@babel/preset-env", | |
{ | |
"targets": { | |
"browsers": [ | |
"last 2 versions", | |
"ie >= 11" |
module GoogleChart exposing (..) | |
import Html exposing (Html) | |
import Html.Attributes as HtmlA | |
import Json.Encode as E | |
import List.Extra as List | |
import Chart exposing (..) | |
colors = |