 
 (defn select-all-but-favorite []
   (mass-selections "data-favorite" "false"))
-
-(defn unselect-all []
-  (mass-selections "data-id" 0 not= false))
 
 (defn select-below-iv-threshold [percentage]
   (mass-selections "data-iv-perfect" percentage > true))

            [goog.dom :as gdom]
            [cruncher.utils.views :as vlib]
            [cruncher.utils.lib :as lib]))

(defn mass-selections
  "Function for mass selections of pokemon depending on a predicate.

                      (dom/div #js {:className "col-md-6"}
                               (dom/label #js {:className "control-label"} "Clicking a button always overrides manual selections")
                               (dom/br nil)
                               (vlib/button-default unselect-all "Unselect")
                               (vlib/button-default unselect-favorites "Unselect Favorites")
                               (vlib/button-default select-all-but-favorite "Select all but favorite"))
                      (dom/div #js {:className "col-md-3"}
                               (dom/div nil (cp-threshold (om/props this))))
