Skip to content

Instantly share code, notes, and snippets.

@ibolmo
Created November 12, 2009 20:31
Show Gist options
  • Select an option

  • Save ibolmo/233248 to your computer and use it in GitHub Desktop.

Select an option

Save ibolmo/233248 to your computer and use it in GitHub Desktop.
Proof of concept for the Ascii Viewer for the executed JavaScript.
/*
# With vertical
├ Node Title ┐
│ ├ Node Title, 1000 ms
│────────────┘
# Without vertical and optional line number
├ anon, 2 ms
├ helloWorld, 100 ms ┐
├ anon, 1 ms
├────────────────────┘
├ anon (210), 10 ms
# Delayed and periodical have special starting symbols + explicit text
├ anon, 2 ms
├ helloWorld, 100 ms ┐
├ anon, 1 ms
╟ anon (10, delayed), 5 ms
╠ log (periodical), 10 ms
├────────────────────┘
├ anon (210), 10 ms
# Nested example
├ anon, 2 ms
├ helloWorld, 100 ms ┐
├ anon, 1 ms
╟ anon (10, delayed), 5 ms ┐
├ doSomething, 100 ms
├──────────────────────────┘
╠ log (periodical), 10 ms
├────────────────────┘
├ anon (210), 10 ms
# Nested example, without horizontal dashes
├ anon, 2 ms
├ helloWorld, 100 ms ┐
├ anon, 1 ms
╟ anon (10, delayed), 5 ms ┐
├ doSomething, 100 ms
╠ log (periodical), 10 ms
├ anon (210), 10 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment