Skip to content

Instantly share code, notes, and snippets.

View joelturnbull's full-sized avatar

Joel Turnbull joelturnbull

View GitHub Profile
@joelturnbull
joelturnbull / jquerytest.cljs
Created January 17, 2012 02:20 — forked from ryancrum/jquerytest.cljs
How to use jQuery from ClojureScript
(ns jquerytest.core)
(def jquery (js* "$"))
(jquery
(fn []
(-> (jquery "div.meat")
(.html "This is a test.")
(.append "<div>Look here!</div>"))))