(calc-editor-args-from-element element
global-idle-msec
min-idle-msec
global-editor-type)
(eval-snippets-on-change {:keys [re_evaluate_all_snippets_on_change]} eval-fns)
This channel is posted to a snippet number whenever an edit is made on a snippet
This channel is posted to a snippet number whenever an edit is made on a snippet
(klipsify element general-settings mode)
To be called from outside. Klipsifies a snippet. Returns a channel that will be ready when the snippet is evaluated.
To be called from outside. Klipsifies a snippet. Returns a channel that will be ready when the snippet is evaluated.
(klipsify-with-opts element
{:keys [no_dynamic_scripts eval_idle_msec minimalistic_ui
editor_type print_length beautify_strings
eval_context codemirror_options_in
codemirror_options_out]
:or {beautify_strings false
print_length 1000
eval_idle_msec 20
minimalistic_ui false
codemirror_options_in {}
codemirror_options_out {}}}
{:keys [editor-in-mode editor-out-mode eval-fn comment-str
beautify? beautify-output? min-eval-idle-msec
external-scripts default-editor no-result]
:as lang-opts
:or {min-eval-idle-msec 0
beautify? true
beautify-output? true
external-scripts []}}
mode)
returns a channel c with a function f. f returns a channel that will be ready to read when the snippet is evaluated.
returns a channel c with a function f. f returns a channel that will be ready to read when the snippet is evaluated.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close