       480 :phone
       600 :tablet
       :desktop)))
-
-(defn mobile? []
-  true
-  #_(= (detect-platform) :phone))
 
 (def app-state
   (atom

            duration (dom/span #js {:className "duration"} (mmss (get track "length")))
            button (dom/button #js {:onClick #(enqueue-track @track)} "+")]
        (apply dom/div #js {:className "track"}
               (if (mobile?)
                 [title artist album duration button]
                 [artist album title duration button]))))))


(defn xhr-search [term]

                    "+")
            track-components
            (om/build-all results-track-view tracks)]
        (apply dom/div #js {:className "results tracks" }
               (dom/div #js {:className "track"}
                        (dom/span {:id "queue-all-tracks"}
                                  "Queue all tracks")
                        button)
               track-components)
        ))
    ))


