Created
August 22, 2011 22:48
-
-
Save anonymous/1163853 to your computer and use it in GitHub Desktop.
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 main [] | |
(dotimes [x 5] | |
(let [box(.getElement goog.dom (str "box" (inc x)))] | |
(goog.Timer/callOnce #(.setTextContent goog.dom box (str "hello box " x)) (* delay 1000))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment