mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 05:28:43 +00:00
🐛 Fix inconsistencies on using obj/reify on plugins
This commit is contained in:
parent
33bcc9544a
commit
9dfe5b0865
@ -289,10 +289,10 @@
|
|||||||
(assert (uuid? id))
|
(assert (uuid? id))
|
||||||
|
|
||||||
(obj/reify {:name "LibraryTypographyProxy"}
|
(obj/reify {:name "LibraryTypographyProxy"}
|
||||||
:$plugin {:name "" :enumerable false :get (constantly plugin-id)}
|
:$plugin {:enumerable false :get (constantly plugin-id)}
|
||||||
:$id {:name "" :enumerable false :get (constantly id)}
|
:$id {:enumerable false :get (constantly id)}
|
||||||
:$file {:name "" :enumerable false :get (constantly file-id)}
|
:$file {:enumerable false :get (constantly file-id)}
|
||||||
:id {:name "" :get (fn [_] (dm/str id))}
|
:id {:get (fn [] (dm/str id))}
|
||||||
|
|
||||||
:name
|
:name
|
||||||
{:this true
|
{:this true
|
||||||
@ -629,8 +629,8 @@
|
|||||||
:$file {:enumerable false :get (constantly file-id)}
|
:$file {:enumerable false :get (constantly file-id)}
|
||||||
:$id {:enumerable false :get (constantly id)}
|
:$id {:enumerable false :get (constantly id)}
|
||||||
|
|
||||||
:id {:get (fn [_] (dm/str id))}
|
:id {:get (fn [] (dm/str id))}
|
||||||
:libraryId {:get (fn [_] (dm/str file-id))}
|
:libraryId {:get (fn [] (dm/str file-id))}
|
||||||
|
|
||||||
:properties
|
:properties
|
||||||
{:this true
|
{:this true
|
||||||
@ -706,7 +706,7 @@
|
|||||||
:$plugin {:enumerable false :get (constantly plugin-id)}
|
:$plugin {:enumerable false :get (constantly plugin-id)}
|
||||||
:$id {:enumerable false :get (constantly id)}
|
:$id {:enumerable false :get (constantly id)}
|
||||||
:$file {:enumerable false :get (constantly file-id)}
|
:$file {:enumerable false :get (constantly file-id)}
|
||||||
:id {:get (fn [_] (dm/str id))}
|
:id {:get (fn [] (dm/str id))}
|
||||||
|
|
||||||
:name
|
:name
|
||||||
{:this true
|
{:this true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user