Positives | Negatives |
---|---|
Great browser support | _ |
Easy for end users to implement | _ |
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
exports.lines = { | |
"bakerloo": "Bakerloo", | |
"central": "Central", | |
"circle": "Circle", | |
"district": "District", | |
"hammersmith-city": "Hammersmith & City", | |
"jubilee": "Jubilee", | |
"metropolitan": "Metropolitan", | |
"northern": "Northern", | |
"piccadilly": "Piccadilly", |
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
// ---- | |
// libsass (v3.5.0.beta.2) | |
// ---- | |
// Neutral color palette | |
$palette-neutral--xdark: #2C3643; | |
$palette-neutral--dark: #3B444F; | |
$palette-neutral--base: #67747C; | |
$palette-neutral--light: #99A9B3; | |
$palette-neutral--xlight: #DBE6EC; |
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
// ---- | |
// libsass (v3.5.0.beta.2) | |
// ---- | |
// config/_breakpoints.scss | |
$breakpoints: ( | |
small: 480px, | |
medium: 720px, | |
large: 960px, | |
x-large: 1280px |
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
/* | |
# Animation Frame Queue | |
A utility to ensure all queued requestAnimationFrame callbacks | |
are cancelled to prevent nasty surprises. | |
## The problem: |
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
//// | |
/// @group o-ft-icons | |
/// @link http://registry.origami.ft.com/components/o-ft-icons | |
//// |
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
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
// Full range of available breakpoints | |
$global-breakpoints: ( | |
'XS': 300px, | |
'S': 490px, | |
'M': 740px, | |
'L': 980px, |
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 strict' | |
const ExtractTextPlugin = require('extract-text-webpack-plugin') | |
module.exports = { | |
entry: { | |
'./public/main.css': './src/styles.scss' | |
}, | |
output: { | |
filename: '[name]' |
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
module.exports = function (buttons, target, callback) { | |
buttons = buttons.length === undefined ? [ buttons ] : Array.from(buttons); | |
const toggle = function (e) { | |
const state = target.classList.toggle('is-active'); | |
buttons.forEach(button => { | |
button.setAttribute('aria-expanded', state); | |
}); |
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 strict' | |
const CLASSNAME_WAITING = 'is-waiting' | |
const CLASSNAME_LOADING = 'is-loading' | |
const CLASSNAME_PREROLL = 'is-preroll' | |
const CLASSNAME_PLAYING = 'is-playing' | |
const CLASSNAME_PROBLEM = 'is-problem' | |
// <https://developers.google.com/interactive-media-ads/docs/sdks/html5/sdk-player> | |
function ads (target) { |