summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/archy/examples/beep.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/npm/node_modules/archy/examples/beep.js')
-rw-r--r--deps/node/deps/npm/node_modules/archy/examples/beep.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/node/deps/npm/node_modules/archy/examples/beep.js b/deps/node/deps/npm/node_modules/archy/examples/beep.js
new file mode 100644
index 00000000..9c070479
--- /dev/null
+++ b/deps/node/deps/npm/node_modules/archy/examples/beep.js
@@ -0,0 +1,24 @@
+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);