 ;;; -*- Clojure -*- mode
 (ns sledge.core
   (:require-macros [cljs.core.async.macros :refer [go alt!]])
+  (:import [goog.net XhrIo])
   (:require [goog.events :as events]
             [clojure.string :as string]
             [cljs.core.async :as async :refer [>! <! put! chan]]


(defn results-view [app owner]
  (reify
    om/IRenderState
    (render-state [this {:keys [enqueue]}]
      (apply dom/div nil

    (init-state [_]
      {:enqueue (chan)
       :search-term ""
       :new-results (chan)
       :dequeue (chan)})
    om/IRenderState
    (render-state [this state]
