View SketchSystems.spec
My Awesome Sketch | |
Nothing Selected | |
click on bar -> One Bar Selected | |
shift click on bar -> Continious Bars Selected | |
One Bar Selected | |
click on same bar -> Nothing Selected | |
click on another bar -> One Bar Selected | |
shift click on another bar -> Non Continious Bars Selected | |
ctrl click on another bar -> Continious Bars Selected | |
move mouse -> Selection |
View gist:20fcc8b7994c1abcb192a07936885a4f
import React from 'react' | |
import { mount } from 'enzyme' | |
const render = ({ hoc, data, context }) => { | |
const Component = () => <div /> | |
const WrappedComponent = hoc(Component) | |
return mount(<WrappedComponent {...data} />, { context }) | |
} | |
// By default, return the 'inner', wrapped component. |
View jsbin.igIHeYe.css
div input, div label{ | |
margin: 0; | |
position:relative; | |
left: -200px; | |
transition: .3s; | |
box-sizing:border-box; | |
float:left; | |
height: 30px | |
} | |
input{ |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> |
View RegionRouter.js
define(function() { | |
function getRouterSetting(region, routerSettings) { | |
var settings = { | |
appRoutes: {}, | |
controller: {} | |
}; |
View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="https://raw.github.com/bestiejs/lodash/v1.0.0/dist/lodash.min.js"></script> | |
</head> | |
<body> | |
<script> |
View NoiseWave.js
/** | |
* port of Noise Wave | |
* by Daniel Shiffman from processing to plask | |
* | |
* Using Perlin Noise to generate a wave-like pattern. | |
*/ | |
var plask = require('plask'); | |
var noise = require('./classicalNoise').noise; |
NewerOlder