README
An experiment to validate the jiri run hook environment.
An experiment to validate the jiri run hook environment.
I hereby claim:
To claim this, I am signing this object:
dscl . -mcxdelete /Users/<username>
rm -rf /Library/Managed\ Preferences/<username>
SEE: dscl man page
To get started:
git clone ... boilerplate
cd boilerplate
make start
Changes can be automatically built using watch:
watch make
var mercury = require('mercury'); | |
var h = mercury.h; | |
module.exports = create; | |
module.exports.render = render; | |
function render(state) { | |
return h({}, [ | |
//... |
var extend = require('xtend'); | |
module.exports = SinkEventHandler; | |
function SinkEventHandler(sink, data) { | |
if (!(this instanceof SinkEventHandler)) { | |
return new SinkEventHandler(sink, data); | |
} | |
this.sink = sink; |
var h = require('mercury').h; | |
var css = require('./index.css'); | |
var insert = require('insert-css'); | |
module.exports = function component(state) { | |
insert(css); | |
return h('.foo') | |
} |
function submit(sink, data) { | |
if (!(this instanceof submit)) { | |
return new submit(sink, data) | |
} | |
this.sink = sink | |
this.data = data | |
this.id = sink.id | |
this.type = 'submit' | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object: