From 2c4eb96ab1973751972bcb9b92a17f55a327b09a Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Fri, 8 Nov 2024 12:03:58 +0100 Subject: [PATCH] Remove comment block --- .../ui/workspace/tokens/style_dictionary.cljs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs index c388762110..72771c4fa9 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -128,24 +128,6 @@ (.buildAllPlatforms "json") (p/then #(.-allTokens ^js %))))) -(comment - (-> (StyleDictionary. default-config) - (enable-debug) - (add-tokens {"foo" (ctob/make-token :type :border-radius - :value "12px" - :name "foo") - "bar" (ctob/make-token :type :border-radius - :value "{foo} * 2" - :name "foo") - "color" (ctob/make-token :type :color - :value "red" - :name "color")}) - (build-dictionary) - (p/finally (fn [x err] - (js/console.log "x err" x err)))) - nil) - - (defn resolve-tokens-tree+ ([tokens-tree get-token] (resolve-tokens-tree+ tokens-tree get-token (StyleDictionary. default-config)))