mirror of
https://github.com/penpot/penpot.git
synced 2025-04-09 21:41:23 -05:00
🔥 Remove unused API from tokens-lib
Removes the protocol method: `get-set-prefixed-path-string`
This commit is contained in:
parent
5c3709b5d8
commit
802c67ace4
1 changed files with 2 additions and 7 deletions
|
@ -327,8 +327,7 @@
|
|||
(update-token [_ token-name f] "update a token in the list")
|
||||
(delete-token [_ token-name] "delete a token from the list")
|
||||
(get-token [_ token-name] "return token by token-name")
|
||||
(get-tokens [_] "return an ordered sequence of all tokens in the set")
|
||||
(get-set-prefixed-path-string [_] "convert set name to prefixed full path string"))
|
||||
(get-tokens [_] "return an ordered sequence of all tokens in the set"))
|
||||
|
||||
(defrecord TokenSet [name description modified-at tokens]
|
||||
ITokenSet
|
||||
|
@ -372,11 +371,7 @@
|
|||
(get tokens token-name))
|
||||
|
||||
(get-tokens [_]
|
||||
(vals tokens))
|
||||
|
||||
(get-set-prefixed-path-string [_]
|
||||
(-> (set-name->prefixed-full-path name)
|
||||
(join-set-path))))
|
||||
(vals tokens)))
|
||||
|
||||
(defn token-set?
|
||||
[o]
|
||||
|
|
Loading…
Add table
Reference in a new issue