From 845726827e6c258ccd2e8169b4a023b6a2e1d17c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 1 Dec 2016 22:56:04 +0100 Subject: [PATCH] Remove unused println's. --- frontend/src/uxbox/main/data/history.cljs | 1 - frontend/src/uxbox/main/data/workspace.cljs | 2 -- frontend/src/uxbox/main/ui/dashboard/icons.cljs | 1 - frontend/src/uxbox/main/ui/settings/header.cljs | 1 - frontend/src/uxbox/main/ui/shapes/image.cljs | 1 - frontend/src/uxbox/main/ui/workspace/colorpicker.cljs | 1 - frontend/src/uxbox/main/ui/workspace/sidebar/options/page.cljs | 1 - 7 files changed, 8 deletions(-) diff --git a/frontend/src/uxbox/main/data/history.cljs b/frontend/src/uxbox/main/data/history.cljs index a07060c68..a322205fc 100644 --- a/frontend/src/uxbox/main/data/history.cljs +++ b/frontend/src/uxbox/main/data/history.cljs @@ -28,7 +28,6 @@ (deftype WatchPageChanges [id] ptk/WatchEvent (watch [_ state stream] - (println "history:watch-page-changes" id) (let [stopper (->> stream (rx/filter #(= % ::udp/stop-page-watcher)) (rx/take 1))] diff --git a/frontend/src/uxbox/main/data/workspace.cljs b/frontend/src/uxbox/main/data/workspace.cljs index 4077d6c8a..89f904c00 100644 --- a/frontend/src/uxbox/main/data/workspace.cljs +++ b/frontend/src/uxbox/main/data/workspace.cljs @@ -64,8 +64,6 @@ ;; Activate loaded if page is not fetched. (when-not page (reset! st/loader true)) - (println "initialize") - (rx/merge (if page (rx/of (initialize-alignment page-id)) diff --git a/frontend/src/uxbox/main/ui/dashboard/icons.cljs b/frontend/src/uxbox/main/ui/dashboard/icons.cljs index c69b29e25..090ac85d7 100644 --- a/frontend/src/uxbox/main/ui/dashboard/icons.cljs +++ b/frontend/src/uxbox/main/ui/dashboard/icons.cljs @@ -248,7 +248,6 @@ (on-toggle-move [event] (swap! local update :show-move-tooltip not)) (on-copy [selected] - (println "copy from" id "to" selected) (swap! local assoc :show-move-tooltip false :show-copy-tooltip false) diff --git a/frontend/src/uxbox/main/ui/settings/header.cljs b/frontend/src/uxbox/main/ui/settings/header.cljs index a8245bcd8..a3ecb6bff 100644 --- a/frontend/src/uxbox/main/ui/settings/header.cljs +++ b/frontend/src/uxbox/main/ui/settings/header.cljs @@ -35,7 +35,6 @@ profile? (= section :settings/profile) password? (= section :settings/password) notifications? (= section :settings/notifications)] - (println "header-render" section) (html [:header#main-bar.main-bar [:div.main-logo diff --git a/frontend/src/uxbox/main/ui/shapes/image.cljs b/frontend/src/uxbox/main/ui/shapes/image.cljs index 55aec1857..f1c60c3a1 100644 --- a/frontend/src/uxbox/main/ui/shapes/image.cljs +++ b/frontend/src/uxbox/main/ui/shapes/image.cljs @@ -30,7 +30,6 @@ (defn- will-mount [own] (let [{:keys [image]} (first (:rum/args own))] - (println (:rum/args own)) (st/emit! (udi/fetch-image image)) own)) diff --git a/frontend/src/uxbox/main/ui/workspace/colorpicker.cljs b/frontend/src/uxbox/main/ui/workspace/colorpicker.cljs index fab1e09fc..a5c4d17ee 100644 --- a/frontend/src/uxbox/main/ui/workspace/colorpicker.cljs +++ b/frontend/src/uxbox/main/ui/workspace/colorpicker.cljs @@ -73,5 +73,4 @@ (defmethod lbx/render-lightbox :workspace/page-colorpicker [params] - (println "kakakaka") (page-colorpicker params)) diff --git a/frontend/src/uxbox/main/ui/workspace/sidebar/options/page.cljs b/frontend/src/uxbox/main/ui/workspace/sidebar/options/page.cljs index 161862d97..911a28fed 100644 --- a/frontend/src/uxbox/main/ui/workspace/sidebar/options/page.cljs +++ b/frontend/src/uxbox/main/ui/workspace/sidebar/options/page.cljs @@ -40,7 +40,6 @@ (udp/update-metadata id) (st/emit!)))) (show-color-picker [event] - (println "show-color-picker") (let [x (.-clientX event) y (.-clientY event) opts {:x x :y y