Skip to content

Instantly share code, notes, and snippets.

@sjl
Forked from srid/ui.cljs
Created February 7, 2012 15:27
Show Gist options
  • Save sjl/1760224 to your computer and use it in GitHub Desktop.
Save sjl/1760224 to your computer and use it in GitHub Desktop.
ClojureScript - prependChild implementation using Google Closure
(defn ^:export prependChild
[parent node]
(dom/insertChildAt parent node 0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment