Skip to content

Instantly share code, notes, and snippets.

@mhuebert
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhuebert/315aeaf81307275d35d4 to your computer and use it in GitHub Desktop.
Save mhuebert/315aeaf81307275d35d4 to your computer and use it in GitHub Desktop.
`def` in a namespace, cljs.js/eval
(cljs/eval (cljs/empty-state)
'(def x 1)
{:eval cljs/js-eval
:context :expr
:def-emits-var true
:ns cells.core
}
#(pprint %))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment