This markdown..
<p><details>
<summary>
<b>Expand for puppy</b>
</summary>
<img src="http://youthvoices.net/sites/default/files/image/129678/dec/1600dog_11019_1.jpg"/>
</details></p>
function logSVG(svg){ | |
// Get svg data | |
var xml = new XMLSerializer().serializeToString(svg); | |
// Make it base64 | |
var svg64 = btoa(xml); | |
var b64Start = 'data:image/svg+xml;base64,'; | |
// Prepend a "header" | |
var image64 = b64Start + svg64; |
import appActor from '../state/actors/app'; | |
import { useGesture } from '@use-gesture/react' | |
import { useEffect, useRef } from "react" | |
import { getCamera } from "../cameras/usePanZoom"; | |
export function usePanZoomEvents() { | |
const panZoomStartPositionInWorldSpace = useRef() | |
console.log("usepanzoom"); |
function test(){ | |
const a = "a"; | |
} |
Elm has well thought out versioning rules. Because of Elm's strong type system their package manager could (can?) enforce the rules. They already have a CLI command to generate a report of what's changed between any two versions of a module.
For example, to compare changes between elm-lang/core's module 3.0.0 vs 4.0.0, run: elm-package diff elm-lang/core 3.0.0 4.0.0
which will produce:
Comparing elm-lang/core 3.0.0 to 4.0.0...
This is a MAJOR change.
------ Added modules - MINOR ------
// Regular commander.js logic up here. None of this | |
// logic is run if a subcommand match was found | |
var knownSubCommands = [ | |
"blah", | |
"ha", | |
"etc" | |
] |
For zontinuous data such as time series, a streamgraph can be used in place of stacked bars. This example also demonstrates path transitions to interpolate between different layouts. Streamgraph algorithm, colors, and data generation inspired by Byron and Wattenberg.
{ | |
"log": { | |
"version": "1.2", | |
"creator": { | |
"name": "WebInspector", | |
"version": "537.36" | |
}, | |
"pages": [ | |
{ | |
"startedDateTime": "2015-05-15T15:31:28.141Z", |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |