Skip to content

Instantly share code, notes, and snippets.

View gnab's full-sized avatar

Ole Petter Bang gnab

  • Onyx CenterSource
  • Tønsberg, Norway
View GitHub Profile
(ns async-test.core
(:require [cljs.core.async :refer [chan]]
[clojure.string :as string])
(:require-macros
[cljs.core.async.macros :as m :refer [go alt! alts!]]))
(def c (chan))
(def loc-div (.getElementById js/document "location"))
(.addEventListener js/window "mousemove"