mirror of
https://github.com/penpot/penpot.git
synced 2025-12-23 22:48:40 -05:00
🐛 Fix inconsistencies on using obj/reify on plugins
This commit is contained in:
@@ -289,10 +289,10 @@
|
||||
(assert (uuid? id))
|
||||
|
||||
(obj/reify {:name "LibraryTypographyProxy"}
|
||||
:$plugin {:name "" :enumerable false :get (constantly plugin-id)}
|
||||
:$id {:name "" :enumerable false :get (constantly id)}
|
||||
:$file {:name "" :enumerable false :get (constantly file-id)}
|
||||
:id {:name "" :get (fn [_] (dm/str id))}
|
||||
:$plugin {:enumerable false :get (constantly plugin-id)}
|
||||
:$id {:enumerable false :get (constantly id)}
|
||||
:$file {:enumerable false :get (constantly file-id)}
|
||||
:id {:get (fn [] (dm/str id))}
|
||||
|
||||
:name
|
||||
{:this true
|
||||
@@ -629,8 +629,8 @@
|
||||
:$file {:enumerable false :get (constantly file-id)}
|
||||
:$id {:enumerable false :get (constantly id)}
|
||||
|
||||
:id {:get (fn [_] (dm/str id))}
|
||||
:libraryId {:get (fn [_] (dm/str file-id))}
|
||||
:id {:get (fn [] (dm/str id))}
|
||||
:libraryId {:get (fn [] (dm/str file-id))}
|
||||
|
||||
:properties
|
||||
{:this true
|
||||
@@ -706,7 +706,7 @@
|
||||
:$plugin {:enumerable false :get (constantly plugin-id)}
|
||||
:$id {:enumerable false :get (constantly id)}
|
||||
:$file {:enumerable false :get (constantly file-id)}
|
||||
:id {:get (fn [_] (dm/str id))}
|
||||
:id {:get (fn [] (dm/str id))}
|
||||
|
||||
:name
|
||||
{:this true
|
||||
|
||||
Reference in New Issue
Block a user