Place this in the file test/mocha.opts:
-r pogo
Place this in the file test/mocha.opts:
-r pogo
| #!/bin/sh | |
| source=$1 | |
| backups=$2 | |
| date=`date -u "+%Y_%m_%dT%H_%M_%S"` | |
| mkdir -p $backups | |
| if [ -e $backups/latest ] | |
| then |
I hereby claim:
To claim this, I am signing this object:
| a = integer | |
| b = a + 1 | |
| " this is the start of something new {b} = {a} + 1, always | |
| c = object { | |
| x = integer | |
| y = 4 | |
| z = x + y | |
| } |
| var plastiq = require('plastiq'); | |
| var h = plastiq.html; | |
| var bind = plastiq.bind; | |
| function render(model) { | |
| return h('div', | |
| h('label', "what's your name?"), ' ', | |
| h('input', {type: 'text', binding: bind(model, 'name')}), | |
| h('div', 'hi ', model.name) | |
| ); |
| var plastiq = require('plastiq'); | |
| var h = plastiq.html; | |
| var bind = plastiq.bind; | |
| function render(model) { | |
| return h('div', | |
| h('button', { | |
| onclick: function () { | |
| return function (render) { | |
| setInterval(function () { |
| var plastiq = require('plastiq'); | |
| var h = plastiq.html; | |
| var bind = plastiq.bind; | |
| function render(model) { | |
| return h('div', | |
| h('label', "what's your name?"), | |
| h('input', {type: 'text', model: bind(model, 'name')}), | |
| h('div', 'hi ' + model.name) | |
| ); |
| var plastiq = require('plastiq'); | |
| var h = plastiq.html; | |
| var bind = plastiq.bind; | |
| function render(model) { | |
| return h('div', | |
| h('ul', | |
| model.people.map(function (person) { | |
| return h('li', person.name); | |
| }) |
| var plastiq = require('plastiq'); | |
| var h = plastiq.html; | |
| var bind = plastiq.bind; | |
| function render(model) { | |
| return h('div', | |
| h('label', "what's your name?"), ' ', | |
| h('input', {type: 'text', binding: bind(model, 'name')}), | |
| h('div', 'hi ', model.name) | |
| ); |