 (ns todomvc.item
   (:require-macros [cljs.core.async.macros :refer [go]])
-  (:require [cljs.core.async :refer [>! <! put! alts!]]
+  (:require [cljs.core.async :refer [>! <! put!]]
             [todomvc.utils :refer [now]]
             [clojure.string :as string]
             [om.core :as om]

            (dom/label #js {:onDoubleClick #(handle-edit % todo owner)}
              (:title todo))
            (dom/button #js {:className "destroy"
                             :onClick (fn [_] (put! (:delete chans) todo))})
            (dom/input #js {:ref "editField"
                            :className "edit"
                            :value (:edit-text todo)

    (-render [_ owner]
      (let [m {:owner owner :chans chans}]
        (dom/li #js {:className (str (and completed "completed") " "
                                     (and editing "editing"))}
          (dom/div #js {:className "view"}
            (dom/input #js {:className "toggle"
                            :type "checkbox"
