I hereby claim:
- I am josh68 on github.
- I am josh68 (https://keybase.io/josh68) on keybase.
- I have a public key ASCKSzF4mHP6SpLGLqDjUs457N2nd2XE968AoaeiNkpxmwo
To claim this, I am signing this object:
/*jshint smarttabs:true, maxerr:1000, strict:false*/ | |
/*Sample FAQ code*/ | |
var loadViewModel = function(){ | |
//------------------------------------------------------------------------------ | |
// | |
// MenuItems : Object | |
// Data object for available menu items. |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |
// ---- | |
// Sass (v3.4.20) | |
// Compass (v1.0.3) | |
// ---- | |
// primary palette | |
$modernAqua: #0C9C9E; | |
$teal: $modernAqua; | |
$tealLight: mix($teal, #fff, 15%); |
// webpack.config.js | |
const webpack = require('webpack'); | |
const {resolve} = require('path'); | |
const globby = require('globby'); | |
const {getIfUtils, removeEmpty} = require('webpack-config-utils'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const EventHooksPlugin = require('event-hooks-webpack-plugin'); | |
const plConfig = require('./patternlab-config.json'); | |
const patternlab = require('patternlab-node')(plConfig); | |
const patternEngines = require('patternlab-node/core/lib/pattern_engines'); |
'use strict'; | |
const path = require('path'); | |
const liveServer = require('@pattern-lab/live-server'); | |
const events = require('./events'); | |
const logger = require('./log'); | |
const server = patternlab => { | |
const _module = { |
import patternEngines from 'patternlab-node/core/lib/pattern_engines'; | |
import plConfig from '../../../patternlab-config.json'; | |
const pluginName = 'CompilationFilesChangedPlugin'; | |
class CompilationFilesChangedPlugin { | |
constructor({ patternlab }) { | |
this.startTime = Date.now(); | |
this.prevTimestamps = new Map(); | |
this.pluginIterator = 0; |
I hereby claim:
To claim this, I am signing this object:
>0.2% | |
not dead | |
not ie < 11 | |
not op_mini all | |
not safari 5.1 |
/** | |
* All files in /cypress/plugins, but only index.js needs to be there | |
* With Webpack (and now just modern Node) most imports and exports could be ES6, AFIAK | |
* index.js still does a `module.exports` | |
* | |
* Plugins enable you to tap into, modify, or extend the internal behavior of Cypress. | |
* @see https://on.cypress.io/plugins-guide | |
*/ | |
/** |
/** | |
* Flexible multiline definition list | |
*/ | |
dl { width: 200px; display: grid; grid-template-columns: 1fr 80%; gap: .5em .25em; } | |
dt { counter-increment: css-counter 1; font-weight: bold; white-space: nowrap; } | |
dt::before { content: counter(css-counter)". "; font-weight: normal; } | |
dt::after { content: ":"; } |