mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Remove comment form
This commit is contained in:
parent
f24c314d63
commit
00dabaf38c
1 changed files with 0 additions and 8 deletions
|
@ -38,14 +38,6 @@
|
|||
:type-properties {:error/fn #(str (:value %) " is not a valid token name.
|
||||
Token names should only contain letters and digits separated by . characters.")}}))
|
||||
|
||||
(comment
|
||||
(m/validate valid-token-name-schema "Hey [1]")
|
||||
(m/valid? valid-token-name-schema "Hey")
|
||||
(m/validate valid-token-name-schema "Hey.foo.")
|
||||
(m/validate valid-token-name-schema "🤣")
|
||||
(m/validate valid-token-name-schema ".")
|
||||
nil)
|
||||
|
||||
(defn token-name-schema
|
||||
"Generate a dynamic schema validation to check if a token name already exists.
|
||||
`existing-token-names` should be a set of strings."
|
||||
|
|
Loading…
Add table
Reference in a new issue