(execute-load! compile-state-ref
{:keys [type text uri ns provides] :as load-info})(init compile-state-ref {:keys [load-on-init] :as opts} init-cb)initializes the bootstrapped compiler by loading the dependency index and loading cljs.core + macros (and namespaces specified in :load-on-init)
initializes the bootstrapped compiler by loading the dependency index and loading cljs.core + macros (and namespaces specified in :load-on-init)
(load compile-state-ref {:keys [name path macros] :as rc} cb):load fn for cljs.js, must be passed the compile-state as first arg eg. :load (partial boot/load compile-state-ref)
:load fn for cljs.js, must be passed the compile-state as first arg eg. :load (partial boot/load compile-state-ref)
(load-namespaces compile-state-ref namespaces cb)loads a set of namespaces, must be called after init
loads a set of namespaces, must be called after init
(script-eval code)js/eval doesn't get optimized properly, this hack seems to do the trick
js/eval doesn't get optimized properly, this hack seems to do the trick
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |