mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 07:21:38 +02:00
♻️ Major refactor of page data structure.
In preparation to future collaborative edition.
This commit is contained in:
parent
8c4bdc3f31
commit
af62d949d8
33 changed files with 1025 additions and 1124 deletions
|
@ -65,7 +65,7 @@
|
|||
[v]
|
||||
(cond
|
||||
(number? v) v
|
||||
(re-matches number-rx v) (js/parseFloat v)
|
||||
(and (string? v) (re-matches number-rx v)) (js/parseFloat v)
|
||||
:else ::s/invalid))
|
||||
|
||||
(s/def ::number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue