-
-
Save sjl/1760224 to your computer and use it in GitHub Desktop.
ClojureScript - prependChild implementation using Google Closure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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