Liking cljdoc? Tell your friends :D

clojure.browser.repl

Receive - Eval - Print - Loop

Receive a block of JS (presumably generated by a ClojureScript compiler) Evaluate it naively Print the result of evaluation to a string Send the resulting string back to the server Loop!

Receive - Eval - Print - Loop

Receive a block of JS (presumably generated by a ClojureScript compiler)
Evaluate it naively
Print the result of evaluation to a string
Send the resulting string back to the server Loop!
raw docstring

connectcljs

(connect repl-server-url)

Connects to a REPL server from an HTML document. After the connection is made, the REPL will evaluate forms in the context of the document that called this function.

Connects to a REPL server from an HTML document. After the
connection is made, the REPL will evaluate forms in the context of
the document that called this function.
raw docstring

evaluate-javascriptcljs

(evaluate-javascript conn block)

Process a single block of JavaScript received from the server

Process a single block of JavaScript received from the server
raw docstring

ordercljs


repl-printcljs

(repl-print data)

send-printcljs

(send-print url data)
(send-print url data n)

Send data to be printed in the REPL. If there is an error, try again up to 10 times.

Send data to be printed in the REPL. If there is an error, try again
up to 10 times.
raw docstring

send-resultcljs

(send-result connection url data)

start-evaluatorcljs

(start-evaluator url)

Start the REPL server connection.

Start the REPL server connection.
raw docstring

wrap-messagecljs

(wrap-message t data)

xpc-connectioncljs

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close