mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 12:56:12 +02:00
♻️ Refactor file persistence layer.
This commit is contained in:
parent
182afedc54
commit
4e694ff194
86 changed files with 3205 additions and 3313 deletions
|
@ -20,7 +20,8 @@
|
|||
(when-not (nil? obj)
|
||||
(unchecked-get obj k)))
|
||||
([obj k default]
|
||||
(or (get obj k) default)))
|
||||
(let [result (get obj k)]
|
||||
(if (undefined? result) default result))))
|
||||
|
||||
(defn get-in
|
||||
[obj keys]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue