From 89779bf658052bb0f452f5d17ca2f7e4bdb47726 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 6 Nov 2016 18:03:27 +0100 Subject: [PATCH] Remove unused functions. --- src/uxbox/main/data/colors.cljs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/uxbox/main/data/colors.cljs b/src/uxbox/main/data/colors.cljs index c5ef6d0f57..f1f1b27706 100644 --- a/src/uxbox/main/data/colors.cljs +++ b/src/uxbox/main/data/colors.cljs @@ -15,20 +15,6 @@ [uxbox.main.state :as st] [uxbox.main.repo :as rp])) -;; --- Helpers - -(defn- assoc-collection - [state coll] - (let [id (:id coll) - coll (assoc coll :type :own)] - (assoc-in state [:color-colls-by-id id] coll))) - -(defn- dissoc-collection - "A reduce function for dissoc the color collection - to the state map." - [state id] - (update state :color-colls-by-id dissoc id)) - ;; --- Initialize (declare fetch-collections)