0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🔥 Remove unused code.

This commit is contained in:
Andrey Antukh 2020-05-05 22:35:30 +02:00 committed by Alonso Torres
parent adfa117dc0
commit 525b3f640f
3 changed files with 2 additions and 3 deletions

View file

@ -55,6 +55,5 @@
(let [w (t/writer :json {:handlers +write-handlers+})]
(t/write w data))
(catch :default e
(println "data:" data)
(throw e))))

View file

@ -36,7 +36,7 @@
(try
(let [result (impl/handler payload)]
(cond
(p/thenable? result)
(p/promise? result)
(p/handle result
(fn [msg]
(.postMessage js/self (t/encode

View file

@ -10,6 +10,7 @@
(ns uxbox.worker.thumbnails
(:require
[rumext.alpha :as mf]
[promesa.core :as p]
[cljs.spec.alpha :as s]
[uxbox.common.exceptions :as ex]
[uxbox.common.spec :as us]
@ -25,4 +26,3 @@
:height "150"})]
{:svg (rds/renderToStaticMarkup elem)
:fonts @fonts/loaded}))