Opal-Estate-Pro/node_modules/archy/examples/beep.js
2019-09-13 11:27:52 +07:00

25 lines
387 B
JavaScript
Executable File

var archy = require('../');
var s = archy({
label : 'beep',
nodes : [
'ity',
{
label : 'boop',
nodes : [
{
label : 'o_O',
nodes : [
{
label : 'oh',
nodes : [ 'hello', 'puny' ]
},
'human'
]
},
'party\ntime!'
]
}
]
});
console.log(s);