mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 18:56:13 +02:00
✨ Improve input validation in plugins
This commit is contained in:
parent
e13d543dcd
commit
c5c8be4b4a
10 changed files with 120 additions and 40 deletions
|
@ -93,6 +93,9 @@
|
|||
{:name js/Symbol.toStringTag
|
||||
:get (fn [] (str "FileProxy"))})
|
||||
|
||||
(defn file-proxy? [p]
|
||||
(instance? FileProxy p))
|
||||
|
||||
(defn file-proxy
|
||||
[plugin-id id]
|
||||
(crc/add-properties!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue