From fb3457c6fd8309c98411ea506e4ea0afff29bf71 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 12 Jan 2016 19:32:14 +0200 Subject: [PATCH] Remove useless code. --- src/uxbox/ui/dashboard/icons.cljs | 6 ------ src/uxbox/ui/workspace/sidebar.cljs | 1 - src/uxbox/ui/workspace/toolboxes.cljs | 2 -- 3 files changed, 9 deletions(-) diff --git a/src/uxbox/ui/dashboard/icons.cljs b/src/uxbox/ui/dashboard/icons.cljs index ee15a8270..ce425e611 100644 --- a/src/uxbox/ui/dashboard/icons.cljs +++ b/src/uxbox/ui/dashboard/icons.cljs @@ -104,12 +104,6 @@ coll-id (:collection-id dashboard) own? (= coll-type :own) coll (get library/+icon-collections-by-id+ coll-id)] - ;; coll (case coll-type - ;; :builtin (get library/+color-collections-by-id+ coll-id) - ;; :own (rum/react collection-l))] - ;; edit-cb #(lightbox/open! :icon-form {:coll coll :icon %}) - ;; remove-cb #(rs/emit! (dd/remove-icon {:id (:id coll) :icon %}))] - ;; (println "KAKAKKA" coll-type coll-id coll) (when coll (html [:section.dashboard-grid.library diff --git a/src/uxbox/ui/workspace/sidebar.cljs b/src/uxbox/ui/workspace/sidebar.cljs index e969aa4c4..130061ec6 100644 --- a/src/uxbox/ui/workspace/sidebar.cljs +++ b/src/uxbox/ui/workspace/sidebar.cljs @@ -15,7 +15,6 @@ (defn aside-render [own] - (println "aside-render") (let [toolboxes (rum/react wb/toolboxes-l)] (html [:aside#settings-bar.settings-bar diff --git a/src/uxbox/ui/workspace/toolboxes.cljs b/src/uxbox/ui/workspace/toolboxes.cljs index d2bc316a5..4763b3e1f 100644 --- a/src/uxbox/ui/workspace/toolboxes.cljs +++ b/src/uxbox/ui/workspace/toolboxes.cljs @@ -89,7 +89,6 @@ (defn- layer-element-render [own item selected] - (println "layer-element-render" (:id item)) (let [selected? (contains? selected (:id item))] (html [:li {:key (str (:id item))} @@ -204,7 +203,6 @@ (defn icons-render [own] - (println "icons-render") (let [local (:rum/local own) drawing (rum/react drawing-shape) collid (:collid @local)