mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
🔥 Remove commented code.
This commit is contained in:
parent
c0bc7553a9
commit
2c0a2ce750
1 changed files with 0 additions and 15 deletions
|
@ -58,21 +58,6 @@
|
|||
(assert (blob? b) "invalid arguments")
|
||||
(js/URL.createObjectURL b))
|
||||
|
||||
|
||||
;; (defn get-image-size
|
||||
;; [file]
|
||||
;; (letfn [(on-load [sink img]
|
||||
;; (let [size [(.-width img) (.-height img)]]
|
||||
;; (sink (rx/end size))))
|
||||
;; (on-subscribe [sink]
|
||||
;; (let [img (js/Image.)
|
||||
;; uri (blob/create-uri file)]
|
||||
;; (set! (.-onload img) (partial on-load sink img))
|
||||
;; (set! (.-src img) uri)
|
||||
;; #(blob/revoke-uri uri)))]
|
||||
;; (rx/create on-subscribe)))
|
||||
|
||||
|
||||
(defn write-to-clipboard
|
||||
[data]
|
||||
(assert (string? data) "`data` should be string")
|
||||
|
|
Loading…
Add table
Reference in a new issue