 ;; var objDiv = document.getElementById("your_div");
 ;; objDiv.scrollTop = objDiv.scrollHeight;
 
+(defn- on-change-chat [_ _ old-chat new-chat]
+  (util/log new-chat)
+  )
+
 ;;------------------------------------------------------------------------------
 ;; DOM Events
 ;;------------------------------------------------------------------------------

    [cljs.reader :refer [read-string]]
    hiccups.runtime
    client.game.core
    [client.dom :as dom]
    [client.socket :as socket]
    [client.util :as util]))

(defn cleanup
  []

  (remove-watch client.state/chat :game-screen)

  ; Leave the game room.
  (socket/emit "leave-game")

