                             {:handler       add-session-handler
                              :error-handler (fn [] (print "error getting session data from server."))})}
        template-name])))
-
-(defonce getting-templates
-         (GET "templates" {:handler       #(session/put! :templates %)
-                           :error-handler #(print "error retrieving templates.")}))
 
 (defn generator-component []
   (let []

(ns movement.generator
  (:require-macros [cljs.core.async.macros :refer (go)])
  (:import [goog.events EventType])
  (:require
    [reagent.session :as session]

    [movement.state :refer [movement-session handler-fn log-session]]))

(defonce m-counter (atom 0))
(defonce getting-templates
         (GET "templates" {:handler       #(session/put! :templates %)
                           :error-handler #(print "error retrieving templates.")}))

(defn equipment-symbol [equipment-name]
  (first (shuffle ["images/squat.png"
