View time.js
class DateEpoch {
constructor (epoch = {}) {
const typeCheckFinite = e => isFinite(e)
const typeCheckDate = e => 'getUTCDate' in e
switch (true) {
case typeCheckFinite(epoch):
this.epoch = toMilliseconds(parseInt(epoch))
break
case typeCheckDate(epoch):
this.epoch = epoch.getTime()
View en.json
{"welcome": "Welcome! 😊","howmany": "How many {what} do you own","hello": "Hello","userRequired": "User Name is required","userPlaceholder": "User Name","pwdRequired": "Password is required","pwdPlaceholder": "Password","captchaRequired": "Captcha is required","captchaPlaceholder": "Captcha","bravo": "😊"}
View datepicker.css
ul[data-v-0b1b89fc]{padding:0;margin:0;list-style:none}.date-picker[data-v-0b1b89fc]{position:relative;height:32px}.input-wrapper[data-v-0b1b89fc]{border:1px solid #ccc;border-radius:2px;vertical-align:middle;display:flex;justify-content:space-between;flex-flow:row nowrap;align-items:center;padding:6px 10px 6px 4px;height:32px;box-sizing:border-box}.input[data-v-0b1b89fc]{height:100%;width:100%;font-size:inherit;padding-left:4px;box-sizing:border-box;outline:none}.cancel-btn[data-v-0b1b89fc]{height:14px;width:14px}.date-panel[data-v-0b1b89fc]{position:absolute;z-index:5000;border:1px solid #eee;width:320px;padding:5px 10px 10px;box-sizing:border-box;background-color:#fff;transform:translateY(4px)}.panel-header[data-v-0b1b89fc]{display:flex;flex-flow:row nowrap;width:100%}.arrow-left[data-v-0b1b89fc],.arrow-right[data-v-0b1b89fc]{flex:1;font-size:20px;line-height:2;background-color:#fff;text-align:center;cursor:pointer}.year-range[data-v-0b1b89fc]{font-size:20px;line-height:2;flex:3;display:flex;justify-conten
View code.js
const items = [
{
value: false,
name: "Frozen Yogurt",
calories: 159,
fat: 6.0,
carbs: 24,
protein: 4.0,
iron: "1%"
},
View remote.md
View CgiFooter.vue
<template>
<div :class="[classNames]">
<a
:href="productUrl"
>
{{ productName }}
</a>
&nbsp;
&copy;
&nbsp;
View App.vue
<template>
<v-app>
<v-toolbar
fixed
clipped-left
>
<v-toolbar-side-icon
@click.stop="miniVariant = !miniVariant"
/>
<v-toolbar-title
View extractcss.js
/**
* Based on work from krasimirtsonev
*
* http://krasimirtsonev.com/blog/article/csssteal-chrome-extension-that-extracts-css
*/
// helper function for transforming
// node.children to Array
function toArray (obj, ignoreFalsy) {
var arr = [], i;
View .eslintrc
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
},
env: {
browser: true
},
extends: [
View CREATE_REACT_APP.md

Create React App

Stash on how I bootstrapped a React App with less configuration. Thanks to Create React App