(calc-editor-args-from-element element
global-idle-msec
min-idle-msec
global-editor-type)
(calc-editor-type minimalistic_ui? the-type)
(edit-elements elements general-settings modes)
(elements->mode settings)
(init js-settings)
(init-clj settings)
(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-elements elements general-settings modes)
(klipsify-no-eval element general-settings mode)
(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.
(load-external-scripts scripts no-dynamic-scritps?)
(seq-from-selector selector)
(snippet-num!)
(snippets-selector settings selector-names)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close