Skip to content

Instantly share code, notes, and snippets.

View PaulCampbell's full-sized avatar

@paulcampbell_ PaulCampbell

  • UK
View GitHub Profile
@PaulCampbell
PaulCampbell / index.js
Created December 28, 2014 23:17 — forked from refractalize/index.js
requirebin sketch
var plastiq = require('plastiq');
var h = plastiq.html;
var bind = plastiq.bind;
function render(model) {
return h('div.asdasd',
h('label', "what's your name?"),
h('input', {type: 'text', model: bind(model, 'name')}),
h('div', 'hi ' + model.name)
);