mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 10:26:10 +02:00
✨ Removed svgcleaner
This commit is contained in:
parent
c380400578
commit
ecff4c5dce
79 changed files with 8 additions and 15953 deletions
|
@ -20,7 +20,6 @@
|
|||
[app.common.data :as d]
|
||||
[app.common.pages :as cp]
|
||||
[app.common.spec :as us]
|
||||
["./svgclean" :as svgc]
|
||||
["xml-js" :as xml]
|
||||
["child_process" :as chp]
|
||||
["os" :as os]
|
||||
|
@ -115,7 +114,6 @@
|
|||
(p/then (constantly pbmpath)))))
|
||||
(p/then trace-color-mask)
|
||||
(p/then read-file)
|
||||
(p/then clean-svg)
|
||||
(p/then (fn [data]
|
||||
(p/let [data (parse-xml data)
|
||||
data (get-in data ["elements" 0])]
|
||||
|
@ -141,10 +139,6 @@
|
|||
(-> (p/all (map (partial generate-color-mask ppmpath) colors))
|
||||
(p/then join-color-layers)))
|
||||
|
||||
(clean-svg [data]
|
||||
(log/trace :fn :clean-svg)
|
||||
(svgc/optimize data))
|
||||
|
||||
(trace-single-node [{:keys [data] :as node}]
|
||||
(log/trace :fn :trace-single-node)
|
||||
(p/let [tdpath (create-tmpdir! "svgexport-")
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue