Improve command line helpers.

This commit is contained in:
Andrey Antukh 2020-08-17 15:04:21 +02:00
parent c0cd0d4a23
commit 2746d598b0
11 changed files with 106 additions and 87 deletions

View file

@ -3,6 +3,7 @@
This guide intends to explain the essential details of the frontend
application.
## Access to clojure from javascript console
The uxbox namespace of the main application is exported, so that is
@ -15,6 +16,7 @@ console (there is autocompletion for help):
uxbox.main.store.emit_BANG_(uxbox.main.data.workspace.reset_zoom)
```
## Visual debug mode and utilities
Debugging a problem in the viewport algorithms for grouping and
@ -37,6 +39,7 @@ uxbox.util.debug.debug_all()
uxbox.util.debug.debug_none()
```
## Debug state and objects
There are also some useful functions to visualize the global state or