carry-debugger.core

-trunc

(-trunc s n)

Truncates a string adding ellipsis character if needed.

add

(add blueprint storage storage-key)(add blueprint storage storage-key toggle-visibility-shortcut)

Adds debugging capabilities to the app.

All signals and actions will be recorded and stored in the model. After app is created use connect for rendering the debugger. For correct work it must be the last middleware wrapping the app.

Storage is expected to be a transient map (e.g. as provided by hodgepodge).

Custom keyboard shortcut can toggle the visibility.

Applying debugger middleware more than once will lead to undefined behaviour.

connect

(connect app)

Creates Reagent component for showing a debugger for app which uses debugger middleware. Returns [debugger-view-model debugger-view].

Debugger requires jQuery UI CSS to be included in HTML for correct rendering:

<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.css" rel="stylesheet" type="text/css">

pathcache18913

pathcache18922

pathcache18925

pathcache18929

pathcache18932