From 1ce46a0ef8980fe524219f89e3c4b1178c96f3c8 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 10 Mar 2020 14:46:53 +0100 Subject: [PATCH] :fire: Remove unused code. --- frontend/src/uxbox/main/constants.cljs | 33 +++----------------------- frontend/src/uxbox/main/ui.cljs | 1 + 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/frontend/src/uxbox/main/constants.cljs b/frontend/src/uxbox/main/constants.cljs index c541dd58e..f3ec1a52f 100644 --- a/frontend/src/uxbox/main/constants.cljs +++ b/frontend/src/uxbox/main/constants.cljs @@ -2,6 +2,9 @@ ;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; +;; This Source Code Form is "Incompatible With Secondary Licenses", as +;; defined by the Mozilla Public License, v. 2.0. +;; ;; Copyright (c) 2015-2016 Andrey Antukh (ns uxbox.main.constants) @@ -29,33 +32,3 @@ 0.63 0.66 0.69 0.73 0.77 0.81 0.85 0.90 0.95 1.00 1.05 1.10 1.15 1.21 1.27 1.33 1.40 1.47 1.54 1.62 1.70 1.78 1.87 1.96 2.06 2.16 2.27 2.38 2.50 2.62 2.75 2.88 3.00]) - -(def page-defaults - {:width 1366 - :height 768 - :layout "notebook"}) - -(def project-defaults - (merge {:name ""} page-defaults)) - -(def page-layouts - {"mobile" - {:name "Mobile" - :id "mobile" - :width 320 - :height 480} - "tablet" - {:name "Tablet" - :id "tablet" - :width 1024 - :height 768} - "notebook" - {:name "Notebook" - :id "notebook" - :width 1366 - :height 768} - "desktop" - {:name "Desktop" - :id "desktop" - :width 1920 - :height 1080}}) diff --git a/frontend/src/uxbox/main/ui.cljs b/frontend/src/uxbox/main/ui.cljs index 429c14881..792d95f0e 100644 --- a/frontend/src/uxbox/main/ui.cljs +++ b/frontend/src/uxbox/main/ui.cljs @@ -15,6 +15,7 @@ [lentes.core :as l] [potok.core :as ptk] [rumext.alpha :as mf] + [uxbox.common.exceptions :as ex] [uxbox.builtins.icons :as i] [uxbox.main.data.auth :refer [logout]] [uxbox.main.data.projects :as dp]