mirror of
https://github.com/penpot/penpot.git
synced 2025-07-14 20:07:17 +02:00
✨ Add versions support in plugins
This commit is contained in:
parent
07e40e78cd
commit
4de43b32e8
4 changed files with 185 additions and 3 deletions
|
@ -187,3 +187,9 @@
|
|||
(defn display-not-valid
|
||||
[code value]
|
||||
(.error js/console (dm/str "[PENPOT PLUGIN] Value not valid: " value ". Code: " code)))
|
||||
|
||||
(defn reject-not-valid
|
||||
[reject code value]
|
||||
(let [msg (dm/str "[PENPOT PLUGIN] Value not valid: " value ". Code: " code)]
|
||||
(.error js/console msg)
|
||||
(reject msg)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue